mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

- Android 12 will not allow our download service to be restarted from the background when conditions that allow downloads to continue are met. As an interim (and possibly permanent) solution, we'll keep the service in the foreground if there are unfinished downloads that would continue if conditions were met. - Keeping the service in the foreground requires a foreground notification. Hence we need to be able to generate a meaningful notification for this state. PiperOrigin-RevId: 391969986