File tree 1 file changed +0
-3
lines changed
gto-support-db/src/main/java/org/ccci/gto/android/common/db
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change 1
1
package org.ccci.gto.android.common.db
2
2
3
- import android.annotation.SuppressLint
4
3
import android.database.Cursor
5
4
import android.database.sqlite.SQLiteDatabase
6
5
import androidx.annotation.RestrictTo
@@ -117,9 +116,7 @@ inline fun <reified T : Any> Dao.find(vararg key: Any) = find(T::class.java, *ke
117
116
inline fun <T : Any > Query<T>.get (dao : Dao ) = dao.get(this )
118
117
inline fun Query <* >.getCursor (dao : Dao ) = dao.getCursor(this )
119
118
120
- @SuppressLint(" RestrictedApi" )
121
119
@RestrictTo(RestrictTo .Scope .LIBRARY_GROUP )
122
120
inline fun <reified T : Any > Dao.getService () = getService(T ::class .java)
123
- @SuppressLint(" RestrictedApi" )
124
121
@RestrictTo(RestrictTo .Scope .LIBRARY_GROUP )
125
122
inline fun <reified T : Any > Dao.getService (noinline defaultValue : () -> T ) = getService(T ::class .java, defaultValue)
You can’t perform that action at this time.
0 commit comments