ShowWhenLocked not working on Android 4.4

ZaakCHALALZaakCHALAL FRMember
edited November 2016 in Xamarin.Android

Hi,

I want to be able to wake up my app over the lock screen, I'm using the WindowManagerFlags.ShowWhenLocked and WindowManagerFlags.DismissKeyguard. It's working fine on Android 5 and 6 but not on Android 4.X.

I added the permission DISABLE_KEYGUARD and WAKE_LOCK on the manifest.

I tried also the KeyguardManager with DisableKeyguard method but Nothing is working.

Have someone be able to do it on Android 4.X? or is there special considérations for Android 4.X?

I'm using a Samsung tablet tab E.

Sign In or Register to comment.