commit | 90dcab0540458b409b6757076ab9115789c6a5e6 | [log] [tgz] |
---|---|---|
author | zqzhang <zqzhang@chromium.org> | Thu Jun 30 15:15:57 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jun 30 15:18:06 2016 |
tree | 780c8a76356f3092339883ea0726c375360b3b18 | |
parent | cf04606c3af6634f3bcbd8d39007e6061372a3c0 [diff] |
Fixing 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 Review-Url: https://codereview.chromium.org/2111163002 Cr-Commit-Position: refs/heads/master@{#403180}