DescriptionFixing MediaSessionDelegateAndroid referencing destroyed MediaSession
There's a crash caused by asynchronous audio focus events.
MediaSessionDelegate may receive audio focus change signals after
MediaSession::~MediaSession is called. This CL adds checks to see if the
native MediaSession is destroyed before calling it's methods.
BUG=624208
Committed: https://crrev.com/90dcab0540458b409b6757076ab9115789c6a5e6
Cr-Commit-Position: refs/heads/master@{#403180}
Patch Set 1 #
Messages
Total messages: 13 (5 generated)
|