Timeline for How to make an app behave the same way with screen off, as with screen on?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 29, 2018 at 13:11 | comment | added | mnd | The task - yes. But I'm not sure what profile to create, that would be the trigger for enabling Doze again. I was testing with Autotools plugin, which has a variable that shows if music is playing at the moment (%atmusicplaying). Funny thing is that it is set to "true", only when the music is playing on the device. But if music is output through dlna, the variable stays false, even though the player is playing music and in its notification the "play" button changes to "pause" and so on. | |
Nov 29, 2018 at 8:59 | comment | added | Firelord♦ | In Tasker, you would need root access. The task would be Code, Run Shell, Command: your command, tick Use Root. Assign the task to a profile and enjoy. | |
Nov 29, 2018 at 8:22 | comment | added | beeshyams | Automation can be achieved IMO. You can ask a separate question linking this as background but "less aggressive", I am not sure | |
Nov 29, 2018 at 7:36 | comment | added | mnd | Thanks, but less aggressive and more automated solutions are still highly welcome :) | |
Nov 29, 2018 at 7:29 | comment | added | beeshyams | +1 for self answering :). | |
Nov 29, 2018 at 6:50 | history | answered | mnd | CC BY-SA 4.0 |