spotube/composeApp
thumb2086 848d9fdd0c fix(android): prevent volume jumps on screen on/off with custom AudioFocusHandler
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
2026-10-31 01:24:48 +08:00
..
graalvm feat(graalvm): enable GraalVM native image support and update packaging configurations 2026-10-17 17:01:40 +06:00
icons feat: enhance Android build configuration with stable/nightly flavors and update launcher icons 2026-10-16 21:34:44 +06:00
src fix(android): prevent volume jumps on screen on/off with custom AudioFocusHandler 2026-10-31 01:24:48 +08:00
build.gradle.kts fix(build): add headless mode for Linux and update CI to prepare dependencies 2026-10-29 15:01:43 +06:00
Cargo.lock feat(jam-session): integrate MQTT broker configuration and enhance jam session settings 2026-09-11 19:35:54 +06:00
Cargo.toml feat(graalvm): enable GraalVM native image support and update packaging configurations 2026-10-17 17:01:40 +06:00
proguard-rules.pro feat: migration to Compose Multiplatform 2026-06-30 17:00:13 +06:00