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

> On my Android phone, Endomondo seems to require unlocking, whereas Google Maps Navigation does not.

Although I don't have access to Google Maps source code I believe this is achieved using WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED window flag, so it has nothing to do with wake locks, it just allows the window to be shown over the lock screen. When you dismiss that window (e.g. by clicking "back"), you will see the lock screen. 

> Will the screen lock be automatically reinstated

Yes, this was the intent. I agree to changing "when" tho "while".


-- 
GitHub Notification of comment by andrey-logvinov
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/102#issuecomment-308391807 using your GitHub account

Received on Wednesday, 14 June 2017 10:32:29 UTC