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
Review-Url: https://codereview.chromium.org/2253293004
Cr-Commit-Position: refs/heads/master@{#412829}
(cherry picked from commit e03e8ee0fc359e38700001f04b7ec2e9a01f5f52)
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||