User Tools

Site Tools


doc:appunti:android:android_13_permissions

Special app permissions with Android 13

Android 13 enforces more constraints on the apps than the previous versions. Here are some examples found on the Android 13 of a BlackView smartphone. The BlackView ROM is based on the Android AOSP, with several BlackView apps added.

Restricted setting

In some circumstance you may get the following error when trying to give some permissions to an app:

Restricted Setting
For your security, this setting is currently unavailable.

This may include e.g. the notifications or the accessibility permission.

To remove such restriction do the following:

  • SettingsApps & Notifications, search the app and tap it.
  • Tap on three dots.
  • Choose “Allow restricted settings”.

Device admin apps and external storage

Some apps require the device admin permission to perform some actions. Some of these actions are the factory reset, screen lock, etc. If an app is installed into the external storage (SD card), you can see the following warning into the logcat, when it tries to get such a permission:

W DeviceAdminAdd: Exception trying to activate admin
  ComponentInfo{de.nulide.findmydevice/de.nulide.findmydevice.receiver.DeviceAdminReceiver}
W DeviceAdminAdd: java.lang.IllegalArgumentException:
  Only apps in internal storage can be active admin:
  ComponentInfo{de.nulide.findmydevice/de.nulide.findmydevice.receiver.DeviceAdminReceiver}

If an app is installed into the external storage it will not be displayed into SettingsApps & notificationsSpecial app accessDevice admin apps. To move the app into the internal storage (device memory) you can go through SettingsStorageSD cardApps. Then tap on the app and verify the Storage used, eventually tap the CHANGE button.

doc/appunti/android/android_13_permissions.txt · Last modified: 2024/08/23 08:03 by niccolo