Wholphin/app
Damontecres 54966f9124
Handle density configuration changes to prevent unnecessary app restarts (#1828)
## Description
Add `density` to `configChanges` and handle any changes to density that
occur. Thankfully, Compose handles density changes itself, so only
changes where a density calculation is "remembered" needed to be
updated.

Without this, some devices will recreate `MainActivity` when switching
resolutions for playback. That recreation would cause playback to end
immediately.

### Related issues
Fixes #1809

### Testing
Tested on Onn 4k Pro & nvidia shield

I was able to reproduce on the Onn, but not the Shield, so this might be
device and/or API level specific

## Screenshots
N/A

## AI or LLM usage
None
2026-08-12 21:01:28 -04:00
..
config Add experimental MPV player backend (#161) 2025-11-16 18:46:25 -05:00
schemas/com.github.damontecres.wholphin.data.AppDatabase Add option to override user profile settings for audio & subtitle languages (#1680) 2026-07-14 14:17:31 -04:00
src Handle density configuration changes to prevent unnecessary app restarts (#1828) 2026-08-12 21:01:28 -04:00
.gitignore Set update URL (#8) 2025-10-15 17:17:16 -04:00
build.gradle.kts Update wholphin-extensions & media3 (#1814) 2026-08-11 13:35:11 -04:00
proguard-rules.pro Fix subtitle outline width not applying in release builds (#1687) 2026-07-11 13:21:41 -04:00