revanced-patches-template
revanced-patches-template copied to clipboard
YT: remove "continue playing?" dialog after the screen has turned off
Application
Youtube
Issue
When you use YT to play a playlist, it will stop itself.
- Create a playlist with about 15 songs each with length not less than 3:40
- Play the playlist from start
- Press the power button to turn off screen
- Wait until no sound is playing. It should have played about 7 or so songs
- Unlock and you can see the dialog at the bottom, asking you to interact before playing
As I did not use English version of YT, the exact wording might be different, I translated it back to English
BTW the dialog has a white background even when you used dark theme
Patch
Remove the aforementioned dialog such that you dont need to click it to continue playing
Motivation
This allows user to shut the screen off when listening to music. Which:
- Saves battery
- prevents screen burn-in on OLED device
- lets you focus more when listening background music
Acknowledgements
- [X] I have searched the existing issues and this is a new and no duplicate or related to another open issue.
- [X] I have written a short but informative title.
- [X] I filled out all of the requested information in this issue properly.