You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I need light on while I'm doing stuff with my hands like some reno in the house, so i turn off screen to save battery. But also, if I need to look something up via another pap, I don't need the light on while doing this so the context open works great there.
So would it be possible to have additional context option, if set then light remains on even while screen is off regardless of context setting?
The text was updated successfully, but these errors were encountered:
I understand what you are looking for, but I would have to make some research wether the app can even detect when your screen turns off. What I suppose at the moment is that the app close and screen turn off are not separated events. But that's only a guess.
For sure. I think it does, something like this in onCreate(), not sure:
screenOffReceiver = new ScreenOffReceiver();
IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_OFF);
registerReceiver(screenOffReceiver, filter);
where ScreenOffReceiver extends BroadcastReceiver.
cyb3rko
changed the title
Feature: Can you make context not close light when close screen
Feature Request: Context not closing light when turning off screen
Nov 15, 2024
Awesome app! Small feature request:
Sometimes I need light on while I'm doing stuff with my hands like some reno in the house, so i turn off screen to save battery. But also, if I need to look something up via another pap, I don't need the light on while doing this so the context open works great there.
So would it be possible to have additional context option, if set then light remains on even while screen is off regardless of context setting?
The text was updated successfully, but these errors were encountered: