Fix lint errors
This commit is contained in:
3
app/src/main/java/io/nekohasekai/sfa/vendor/PrivilegedAccessRequiredException.kt
vendored
Normal file
3
app/src/main/java/io/nekohasekai/sfa/vendor/PrivilegedAccessRequiredException.kt
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
package io.nekohasekai.sfa.vendor
|
||||
|
||||
class PrivilegedAccessRequiredException(message: String) : Exception(message)
|
||||
@@ -10,8 +10,6 @@ import io.nekohasekai.sfa.database.Settings
|
||||
import kotlinx.coroutines.flow.MutableStateFlow
|
||||
import kotlinx.coroutines.flow.StateFlow
|
||||
|
||||
class PrivilegedAccessRequiredException(message: String) : Exception(message)
|
||||
|
||||
object PackageQueryManager {
|
||||
|
||||
private const val TAG = "PackageQueryManager"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<application>
|
||||
<provider
|
||||
@@ -11,7 +12,8 @@
|
||||
|
||||
<service
|
||||
android:name=".vendor.RootPackageManagerService"
|
||||
android:exported="false" />
|
||||
android:exported="false"
|
||||
tools:ignore="Instantiatable" />
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
|
||||
11
app/src/otherLegacy/AndroidManifest.xml
Normal file
11
app/src/otherLegacy/AndroidManifest.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<application>
|
||||
<service
|
||||
android:name=".vendor.RootPackageManagerService"
|
||||
tools:node="remove" />
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
@@ -17,7 +17,8 @@
|
||||
|
||||
<service
|
||||
android:name=".vendor.RootPackageManagerService"
|
||||
android:exported="false" />
|
||||
android:exported="false"
|
||||
tools:ignore="Instantiatable" />
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
|
||||
Reference in New Issue
Block a user