| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.3.0-alpha04" type="baseline" client="gradle" dependencies="false" name="AGP (8.3.0-alpha04)" variant="all" version="8.3.0-alpha04"> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 21 (current min is 19): `java.util.Locale#forLanguageTag`" |
| errorLine1=" Locale.setDefault(Locale.forLanguageTag("tr-TR"))" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/test/java/androidx/room/InvalidationTrackerTest.kt"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: RoomSQLiteQuery.NULL, RoomSQLiteQuery.LONG, RoomSQLiteQuery.DOUBLE, RoomSQLiteQuery.STRING, RoomSQLiteQuery.BLOB" |
| errorLine1=" bindingTypes = IntArray(limit)" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/RoomSQLiteQuery.kt"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: RoomSQLiteQuery.NULL, RoomSQLiteQuery.LONG, RoomSQLiteQuery.DOUBLE, RoomSQLiteQuery.STRING, RoomSQLiteQuery.BLOB" |
| errorLine1=" when (bindingTypes[index]) {" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/RoomSQLiteQuery.kt"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: RoomSQLiteQuery.NULL, RoomSQLiteQuery.LONG, RoomSQLiteQuery.DOUBLE, RoomSQLiteQuery.STRING, RoomSQLiteQuery.BLOB" |
| errorLine1=" bindingTypes[index] = NULL" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/RoomSQLiteQuery.kt"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: RoomSQLiteQuery.NULL, RoomSQLiteQuery.LONG, RoomSQLiteQuery.DOUBLE, RoomSQLiteQuery.STRING, RoomSQLiteQuery.BLOB" |
| errorLine1=" bindingTypes[index] = LONG" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/RoomSQLiteQuery.kt"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: RoomSQLiteQuery.NULL, RoomSQLiteQuery.LONG, RoomSQLiteQuery.DOUBLE, RoomSQLiteQuery.STRING, RoomSQLiteQuery.BLOB" |
| errorLine1=" bindingTypes[index] = DOUBLE" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/RoomSQLiteQuery.kt"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: RoomSQLiteQuery.NULL, RoomSQLiteQuery.LONG, RoomSQLiteQuery.DOUBLE, RoomSQLiteQuery.STRING, RoomSQLiteQuery.BLOB" |
| errorLine1=" bindingTypes[index] = STRING" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/RoomSQLiteQuery.kt"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: RoomSQLiteQuery.NULL, RoomSQLiteQuery.LONG, RoomSQLiteQuery.DOUBLE, RoomSQLiteQuery.STRING, RoomSQLiteQuery.BLOB" |
| errorLine1=" bindingTypes[index] = BLOB" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/RoomSQLiteQuery.kt"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: RoomSQLiteQuery.NULL, RoomSQLiteQuery.LONG, RoomSQLiteQuery.DOUBLE, RoomSQLiteQuery.STRING, RoomSQLiteQuery.BLOB" |
| errorLine1=" System.arraycopy(other.bindingTypes, 0, bindingTypes, 0, argCount)" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/RoomSQLiteQuery.kt"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: RoomSQLiteQuery.NULL, RoomSQLiteQuery.LONG, RoomSQLiteQuery.DOUBLE, RoomSQLiteQuery.STRING, RoomSQLiteQuery.BLOB" |
| errorLine1=" System.arraycopy(other.bindingTypes, 0, bindingTypes, 0, argCount)" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/RoomSQLiteQuery.kt"/> |
| </issue> |
| |
| <issue |
| id="WrongConstant" |
| message="Must be one of: RoomSQLiteQuery.NULL, RoomSQLiteQuery.LONG, RoomSQLiteQuery.DOUBLE, RoomSQLiteQuery.STRING, RoomSQLiteQuery.BLOB" |
| errorLine1=" Arrays.fill(bindingTypes, NULL)" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/RoomSQLiteQuery.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/AutoCloserTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/AutoCloserTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(10)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/AutoCloserTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(10)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/AutoCloserTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/AutoCloserTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/AutoCloserTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(100)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/AutoClosingRoomOpenHelperFactoryTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(100)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/AutoClosingRoomOpenHelperFactoryTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(100)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/AutoClosingRoomOpenHelperFactoryTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(100)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/AutoClosingRoomOpenHelperFactoryTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(100) // Let the db auto close..." |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/AutoClosingRoomOpenHelperTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(20) // Database should auto-close here" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/AutoClosingRoomOpenHelperTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(20)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/AutoClosingRoomOpenHelperTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(20)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/AutoClosingRoomOpenHelperTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(10)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/test/java/androidx/room/InvalidationTrackerTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(10) // simulate slow reading, as if this was a big file" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/test/java/androidx/room/SQLiteCopyOpenHelperTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(100)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/test/java/androidx/room/TransactionExecutorTest.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="Api29Impl.setNotificationUris can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" SupportSQLiteCompat.Api29Impl.setNotificationUris(delegate, cr, uris)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="Api29Impl.setNotificationUris can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" SupportSQLiteCompat.Api29Impl.setNotificationUris(delegate, cr, uris)" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="Api29Impl.setNotificationUris can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" SupportSQLiteCompat.Api29Impl.setNotificationUris(delegate, cr, uris)" |
| errorLine2=" ~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="Api29Impl.setNotificationUris can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" SupportSQLiteCompat.Api29Impl.setNotificationUris(delegate, cr, uris)" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="Api19Impl.getNotificationUri can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" return SupportSQLiteCompat.Api19Impl.getNotificationUri(delegate)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="Api19Impl.getNotificationUri can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" return SupportSQLiteCompat.Api19Impl.getNotificationUri(delegate)" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="Api29Impl.getNotificationUris can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" return SupportSQLiteCompat.Api29Impl.getNotificationUris(delegate)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="Api29Impl.getNotificationUris can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" return SupportSQLiteCompat.Api29Impl.getNotificationUris(delegate)" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="Api23Impl.setExtras can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" SupportSQLiteCompat.Api23Impl.setExtras(delegate, extras)" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="Api23Impl.setExtras can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" SupportSQLiteCompat.Api23Impl.setExtras(delegate, extras)" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="Api23Impl.setExtras can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" SupportSQLiteCompat.Api23Impl.setExtras(delegate, extras)" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="Api16Impl.createCancellationSignal can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" SupportSQLiteCompat.Api16Impl.createCancellationSignal()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/util/DBUtil.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="Api19Impl.isLowRamDevice can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" SupportSQLiteCompat.Api19Impl.isLowRamDevice(activityManager)" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/RoomDatabase.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="Api19Impl.isLowRamDevice can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" SupportSQLiteCompat.Api19Impl.isLowRamDevice(activityManager)" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/RoomDatabase.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="ProcessLock can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" val copyLock = ProcessLock(" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/SQLiteCopyOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="ProcessLock can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" name," |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/room/SQLiteCopyOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="ProcessLock can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" context.filesDir," |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/SQLiteCopyOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="ProcessLock.lock can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" copyLock.lock()" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/room/SQLiteCopyOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApiAndroidX" |
| message="ProcessLock.unlock can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)" |
| errorLine1=" copyLock.unlock()" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/SQLiteCopyOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="ObsoleteSdkInt" |
| message="Unnecessary; SDK_INT is always >= 16" |
| errorLine1=" @RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="ObsoleteSdkInt" |
| message="Unnecessary; SDK_INT is always >= 19" |
| errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="ObsoleteSdkInt" |
| message="Unnecessary; SDK_INT is always >= 16" |
| errorLine1=" @get:RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="ObsoleteSdkInt" |
| message="Unnecessary; SDK_INT is always >= 19" |
| errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.kt"/> |
| </issue> |
| |
| <issue |
| id="ObsoleteSdkInt" |
| message="Unnecessary; SDK_INT is always >= 19" |
| errorLine1=" if (Build.VERSION.SDK_INT > Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/util/CursorUtil.kt"/> |
| </issue> |
| |
| <issue |
| id="ObsoleteSdkInt" |
| message="Unnecessary; SDK_INT is always >= 19" |
| errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN &&" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/InvalidationTracker.kt"/> |
| </issue> |
| |
| <issue |
| id="ObsoleteSdkInt" |
| message="Unnecessary; SDK_INT is always >= 16" |
| errorLine1=" @RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/SQLiteCopyOpenHelper.kt"/> |
| </issue> |
| |
| </issues> |