How to get the device lock status in an app?
I'm working on a system overlay feature, that must not be shown, if the device is locked and the lock screen is shown. How can I retrieve this status inside my app?
We have moved to a new Sailfish OS Forum. Please start new discussions there.
I'm working on a system overlay feature, that must not be shown, if the device is locked and the lock screen is shown. How can I retrieve this status inside my app?
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2019-05-12 13:15:08 +0200
Seen: 83 times
Last updated: May 12 '19
[Implemented in 1.0.3.8] After screen time out, return to last active app [released]
More information on lock screen [duplicate]
[Implemented in 1.0.7.16] Personalization of the pulley menu in lock screen [released]
"Always-on" time on lock screen
Music controls should be more easily accessible after waking. [duplicate]
BUG: Double tap did not unlock properly
Security pattern to unlock device
Ability to rapidly return to the last application before locking [duplicate]
Delay between screen shuts off and lock activates [answered]
just choose correct layer for your overlay
coderus ( 2019-05-12 15:59:43 +0200 )edit@coderus Thanks. I think this is the relevant code snipped:
The layer seems to be the notification layer in this case, correct? Can you suggest another one under the lock screen?
jsommer ( 2019-05-18 17:58:26 +0200 )edit