W3C home > Mailing lists > Public > public-device-apis-log@w3.org > December 2018

Re: [wake-lock] Need maximum screen brightness mode (#129)

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Thu, 13 Dec 2018 22:37:49 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-447146442-1544740667-sysbot+gh@w3.org>
Amusingly, if the "screen" wakelock is implemented on Android with https://developer.android.com/reference/android/view/WindowManager.LayoutParams#FLAG_KEEP_SCREEN_ON, as https://developer.android.com/reference/android/os/PowerManager.html#SCREEN_DIM_WAKE_LOCK recommends, we'll get max-brightness automatically. Maybe the web should follow along and have high-brightness implied by "screen".

-- 
GitHub Notification of comment by jyasskin
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/129#issuecomment-447146442 using your GitHub account
Received on Thursday, 13 December 2018 22:37:50 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:56 UTC