Lucas Reiners
Lucas Reiners

Intent. ACTION_USER_PRESENT http://developer.android.com/reference/android/content/Intent.html#ACTION_USER_PRESENT I also am not sure what this exactly means. I didn't even know that there are broadcasts sent by the keyguard..
@drsood thanks for testing all the possible combinations, yes you are right. I found the source code for the user_present broadcast when lockscreen type is set to "none" https://github.com/android/platform_frameworks_base/blob/3bdbf644d61f46b531838558fabbd5b990fc4913/packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java#L693 Maybe...
I don't really understand the problem or the reason for this. SIM unlocking, which is handled through the lockscreen, as you correctly said, is explicitly not blocked: https://github.com/LucasR93/android-lockscreen-disabler/blob/master/app/src/main/java/com/lr/keyguarddisabler/Lockscreen.java#L349