wolfskin/app/src
Damontecres 98fba1340f
Fix OS screensaver starting during playback with dim enabled (#1956)
## Description
Fixes some devices activating the OS screensaver during playback when
the in-app dim was enabled.

I was not able to reproduce this on Shield 2017/2019, but could easily
on a Fire TV Stick. #1834 added the dim feature and, when enabled, would
not pass the keep screen on flag to the OS during playback. It seems
maybe regular Android TV's screensaver also listened to active media
session to prevent starting but maybe Fire TV OS doesn't. I'm not 100%
sure. This PR changes the logic slightly so that the keep screen on flag
is always set during playback.

### Related issues
Fixes #1894
Related to dim feature from
https://github.com/damontecres/Wholphin/pull/1834

### Testing
Emulator, shield 2019, & fire tv stick 4k

## Screenshots
N/A

## AI or LLM usage
None
2026-09-12 18:38:54 -04:00
..
androidTest/java/com/github/damontecres/wholphin/test Fix issues when the system kills the app during playback (#1116) 2026-03-18 18:09:13 -04:00
appstore Dev: use build product flavors for app store release (#1205) 2026-04-06 15:24:20 -04:00
debug/res/values Dev: use build product flavors for app store release (#1205) 2026-04-06 15:24:20 -04:00
main Fix OS screensaver starting during playback with dim enabled (#1956) 2026-09-12 18:38:54 -04:00
test Fixes to season/episode search with duplicates (#1946) 2026-09-08 22:51:46 -04:00