David

Results 2 comments of David

@TimoPtr Could one provide an explicit "unsafe" command that doesn't have the limitation? I understand both the overhead of having more API entry points and testing, and the desire to...

Thanks @TimoPtr It looks like [WindowManager.LayoutParams.screenBrightness](https://developer.android.com/reference/android/view/WindowManager.LayoutParams#screenBrightness) is actually a better way in general since it doesn't require system privileges as it just temporarily sets the brightness for the window.