W3C home > Mailing lists > Public > public-device-apis-log@w3.org > June 2017

Re: [wake-lock] Clarify state of screen lock after manual lock & unlock

From: patrick kettner via GitHub <sysbot+gh@w3.org>
Date: Sat, 10 Jun 2017 04:36:15 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-307541909-1497069374-sysbot+gh@w3.org>
> Will I need to unlock my phone (pin/pattern etc)
I don't see any reason why it would be a special case compared to regularly locking the screen. I would rather not imply users can unlock without normal security steps. I could imagine users "locking" their phone with a `WakeLock`ed website unknowingly, and then at that point their phone is unlocked forever (well, until that tab or the browser is closed). 
Do you feel hat the spec should explicitly say "when a user locks their device act normal"?

> Will the screen lock be automatically reinstated 
+1 on reinstate, at least for the `screen` wakeLockType. That is what the WinRT APIs do, and what iOS and Android do when you watch a video, lock the screen with playback continuing, and then unlock.
My only question about this would be does the `active` attribute become false during the user-initiated-lock portion, or not.

GitHub Notification of comment by patrickkettner
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/102#issuecomment-307541909 using your GitHub account
Received on Saturday, 10 June 2017 04:36:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:53 UTC