mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
`PlaybackStateCompat.toKeyCode(command)` was replaced by our
own implementation of `toKeyCode()`. The legacy implementation used PLAY and PAUSE, while the new implementation uses PLAY_PAUSE. This made `pause` a pending intent that attempt to start the service in the foreground, but `service.startForeground()` won't be called in `MediaNotificationManager.updateNotificationInternal` when paused.
PiperOrigin-RevId: 476895752
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| aidl/androidx/media3/session | ||
| java/androidx/media3/session | ||
| res | ||
| AndroidManifest.xml | ||