Inspectopedia Help

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, without any <data>, such that the device admin can be activated/deactivated.

To do this, add `<intent-filter>` `<action android:name="" />` `</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


Android, 2022.3.1 Beta 2

Last modified: 13 July 2023