mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-11-04 10:13:59 +00:00
Fixes #3182 - Add AudioFocusHandler class to properly handle transient audio focus loss (lock screen sounds, notifications) and ensure smooth volume restoration - Install AudioFocusHandler in PlaybackService AFTER MediaSession creation so it takes precedence over MediaSession's default listener - Add AUDIO_FLAGS_ALLOW_AUDIBILITY_CHANGE to AudioAttributes for better system integration - ExoPlayer's internal volume is managed correctly during focus changes Tested on Sony Xperia 1 III (Android 14/15) with wired 3.5mm headphones |
||
|---|---|---|
| .. | ||
| graalvm | ||
| icons | ||
| src | ||
| build.gradle.kts | ||
| Cargo.lock | ||
| Cargo.toml | ||
| proguard-rules.pro | ||