Files
SpotiFLAC-Mobile/android/app/src
zarzet 7f93dd932a fix(cast): keep Android awake while the next song loads on the TV
The playback wake lock is released when a song ends, because the queue is
not playing until the next song starts. A local song starts within
milliseconds; a cast one needs the TV to fetch it from this device first,
which takes seconds and, with the screen off, ran without any wake lock.

Hold a 60 second wake lock from the moment the receiver reports the song
finished, and from each load. It expires by itself and is dropped with
the session.
2026-11-21 11:31:47 +07:00
..