feat(ui): implement edge-to-edge support and improve splash transition

- Enable edge-to-edge display in `MainActivity` and handle window insets in `PlayerFragment`.
- Add a fade-out animation when hiding the loading overlay.
- Sync player state with the controller during setup and reset playing state in preferences on service destruction.
- Simplify splash screen drawable and update background color attributes in layout.
- Remove manual navigation bar color overrides.
This commit is contained in:
2026-03-30 11:06:41 +02:00
parent 89b13e152c
commit dad709f5df
6 changed files with 39 additions and 15 deletions
@@ -81,7 +81,8 @@ class PlayerService : MediaLibraryService() {
/* Overrides onDestroy from Service */
override fun onDestroy() {
// player.removeAnalyticsListener(analyticsListener)
// Reset playing state in preferences
PreferencesHelper.saveIsPlaying(false)
player.removeListener(playerListener)
player.release()
mediaLibrarySession.release()