Chromium Code Reviews
DescriptionFixing headset unplug issues in MediaNotification
This CL make MediaNotification fire a ACTION_STOP PendingIntent when the
notification is dismissed, making the MediaSession inactive.
Also, MediaNotification will not call play()/pause() when the
notification is already in that state, preventing calling pause() when
unpluging headset when the notification is already in paused state.
An unplug-related UMA issue is also fixed in this CL.
BUG=638858
Committed: https://crrev.com/e03e8ee0fc359e38700001f04b7ec2e9a01f5f52
Cr-Commit-Position: refs/heads/master@{#412829}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|
|||||||||||||||||||