Samuel Goldwax
Feb 07, 2018
6:16 pm

Hi Santosh,

There is an Android intent for detecting this. Check out ACTION_USER_PRESENT and ACTION_USER_UNLOCKED.

Thanks,

Sam