I couldn't find any broadcast receiver to check if User has swiped the Notification Lock Screen and has reached the Enter Pin/Password screen. The extra lock screen has been added since Lollipop. I tried the following:
- ACTION_USER_PRESENT: This is called after user unlocks the screen after entering PIN lock (keyguard is gone) .
- ACTION_SCREEN_ON: This is called when the screen Wakes up and reaches the Notification Lock Screen.
I am developing an app and one of its use is to capture a picture when user lands on the Enter Pin/Password Screen.
- ACTION_SCREEN_ON fails to work when a user was involved in a Hangouts/Whatsapp Call and lands to the Lock Screen on Call Disconnect.
- It also fails to capture the correct picture, in case the user was not present while swiping the Notification Lock Screen.
Notification Lock Screen:
Pin/Password Screen: