I am working on an well-being app that shuts your phone up for a given period of time (eg. 30min, 1hr, 1.5hr)
In this state user can only see a screen with remaining time on it and cannot
- Access QS tiles
- Access Volume panel
- Navigate out of the Activity
something similar to Oneplus Zen mode
things i have thought of for doing this
Killing the SystemUI process.(by doing so the QS and volume panel would be dealt with most probably, maybe need root for that tho? also SystemUI automatically restarts itself, quite stubborn)
Making app a launcher Dynamically?(technically you can't navigate out of a launcher and on reboot you come back to it)
how can I get around accomplishing this? any ideas?