Open chengmania opened 2 weeks ago
Link to Android documentation https://developer.android.com/develop/background-work/background-tasks/awake/screen-on Flag name: FLAG_KEEP_SCREEN_ON
Thanks for the idea! This would be easy to do, in fact I'm already using this in the firmware update screen (which requires the device to stay on or it fails to flash).
Just need a global setting, and then toggle this Android app setting on/off to match it in each view.
Adding an option for the app the keep the screen awake