Search code examples
androidandroid-intentlockscreen

Is there a "Wrong password on lock screen" action intent?


I'm looking for a way to get a notification if a user enters a wrong password on the Android lock screen (the system lock screen - not a lock screen in my own app). Is there an existing intent that get's fired in that situation?

Many thanks in advace.


Solution

  • I'm looking for a way to get a notification if a user enters a wrong password on the Android lock screen (the system lock screen - not a lock screen in my own app). Is there an existing intent that get's fired in that situation?

    If you have implemented a DeviceAdminReceiver using the device admin APIs, it will be called with onPasswordFailed().