media/libraries/session/src
bachinger 05ebdb9211 Don't start the service in the foreground with a pause intent
`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 acd9e581c4)
2022-09-26 14:56:00 +00:00
..
androidTest Fix instrumentation tests not working via Gradle 2022-09-20 15:25:38 +00:00
main Don't start the service in the foreground with a pause intent 2022-09-26 14:56:00 +00:00
test Don't start the service in the foreground with a pause intent 2022-09-26 14:56:00 +00:00