API 30: Access to installed packages is restricted
When we target API 30 we'll need to make changes to retain the ability to check whether power management apps are installed:
https://medium.com/androiddevelopers/package-visibility-in-android-11-cc857f221cd9
-
AndroidTorPlugin
:pm.getPackageInfo(app.getPackageName(), 0)
-
AndroidWakeLockManagerImpl
:packageName.startsWith()
-
PanicPreferencesFragment
:pm.getApplicationInfo(panicTriggerApp)
-
PanicPreferencesFragment
:intent.resolveActivity(pm)
-
PanicPreferencesFragment
:PanicResponder.resolveTriggerApps(pm)
-
ScreenFilterMonitorImpl
:pm.getInstalledPackages(GET_PERMISSIONS)
-
ScreenFilterMonitorImpl
:pm.getPackageInfo(PLAY_SERVICES_PACKAGE, GET_SIGNATURES)
-
SettingsFragment
:intent.resolveActivity(pm)
-
HuaweiView
:pm.queryIntentActivities(i, PackageManager.MATCH_DEFAULT_ONLY)
-
KeyAgreementActivity
:Intent(ACTION_REQUEST_DISCOVERABLE).resolveActivity(pm)
-
LinkDialogFragment
:pm.queryIntentActivities()
Edited by Torsten Grote