Skip to content

AllDown v1.6.2 — Screen Lock Background Audio Playback

Choose a tag to compare

@vugy0212 vugy0212 released this 14 Nov 09:06
· 16 commits to main since this release

Fixed in v1.6.2

  • Screen Lock Background Audio Playback & Battery Optimization (MIUI/HyperOS & Android 12-14):
    • Foreground Service Integration: Implemented a dedicated AudioPlaybackService foreground service bound with FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK. This completely stops Android and aggressive OEM battery savers (such as Xiaomi MIUI / HyperOS) from putting the app process and ExoPlayer decoding threads to sleep when the screen locks or turns off.
    • CPU Partial WakeLock: Added PowerManager.PARTIAL_WAKE_LOCK held continuously while audio is playing. Prevents CPU deep-sleep audio dropouts, and automatically releases on pause or stop to maintain zero battery drain.
    • VideoPlayerOptions mixWithOthers: Initialized player controller with VideoPlayerOptions(mixWithOthers: true) so audio rendering remains uninterrupted across screen lock, surface toggles, or status bar draws.
    • Lockscreen Transport Controls: Synchronized native MediaSession and lockscreen controls (\Previous, \Play/Pause, \Next, \Close) with real-time foreground state.

Download Assets

  • *\AllDown-v1.6.2-arm64-v8a.apk* (Recommended for modern Android phones)
  • *\AllDown-v1.6.2-universal.apk* (Compatible with all Android devices)