I want to check programatically if my device is locked by a third party Lockscreen...With the normal Lockscreen by android you can do that by
KeyguardManager kgMgr = (KeyguardManager) getSystemService(Context.KEYGUARD_SERVICE);
boolean locked = kgMgr.inKeyguardRestrictedInputMode();
But what if a third party Lockscreen is installed?! Is there any way to check if the device is locked?