DescriptionAndroid MediaSession: do not resume a UI suspended session on a system resume.
When a session is suspended by the UI from the media notifications, it
does not release the audio focus and might receive focus loss/gain
messages from the system. It shouldn't try to resume the session when
the focus is gained back in such case.
BUG=511921
Committed: https://crrev.com/66c6978bdb49a99c387c11f94b35df1f8902d49c
Cr-Commit-Position: refs/heads/master@{#339801}
Patch Set 1 #Patch Set 2 : add tests #
Total comments: 4
Patch Set 3 : review comments #
Messages
Total messages: 17 (7 generated)
|