User Tools

Site Tools


doc:appunti:android:android_13_permissions

This is an old revision of the document!


Special app permissions with Android 13

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.1724399573.txt.gz · Last modified: 2024/08/23 09:52 by niccolo