Malformed Device Admin
Malformed Device Admin
If you register a broadcast receiver which acts as a device admin, you must also register an <intent-filter>
for the action android.app.action.DEVICE_ADMIN_ENABLED
, without any <data>
, such that the device admin can be activated/deactivated.
To do this, add `<intent-filter>` `<action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />` `</intent-filter>` to your <receiver>
.
Issue id: DeviceAdmin
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3 |
Plugin: | Android, 2022.3.1 Beta 2 |
Last modified: 13 July 2023