Re-enable RestricedApi check
Bug: 295107892
Test: ./gradlew lint
Change-Id: Ic59136a67971fe111ab2cca2c79701ec6d49bf05
diff --git a/room/room-runtime/lint-baseline.xml b/room/room-runtime/lint-baseline.xml
index 3774d1b..1998151 100644
--- a/room/room-runtime/lint-baseline.xml
+++ b/room/room-runtime/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
+<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
id="NewApi"
@@ -163,4 +163,193 @@
file="src/test/java/androidx/room/TransactionExecutorTest.kt"/>
</issue>
+ <issue
+ id="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ message="SafeIterableMap can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.room`)"
+ errorLine1=" internal val observerMap = SafeIterableMap<Observer, ObserverWrapper>()"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/room/InvalidationTracker.kt"/>
+ </issue>
+
+ <issue
+ id="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ message="ArchTaskExecutor.getIOThreadExecutor can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.room`)"
+ errorLine1=" transactionExecutor = ArchTaskExecutor.getIOThreadExecutor()"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/room/RoomDatabase.kt"/>
+ </issue>
+
+ <issue
+ id="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ 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="RestrictedApi"
+ 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>
+
</issues>