commit | 2c6d1ac42dd77e95f5a0bd434121b84195d93462 | [log] [tgz] |
---|---|---|
author | Zhiqiang Zhang <zqzhang@google.com> | Tue Nov 27 06:40:06 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 27 06:40:06 2018 |
tree | dc993192385ac5af640f7735318a5b5c7b2bb311 | |
parent | cb43d716421803b00a0be53d805aa9874c6fcec9 [diff] |
[Android MR] Fix a crasher when registering/unregistering callback The crasher happens when the session is connected/disconnected. The code registers/unregisters RemoteMediaClient callback upon connecting/disconnecting. However it should check the availability of RemoteMediaClient of the current session. Bug: 711860 Change-Id: Ie4b29f507a0044ac8649b52b37f1541e4dc9b4ee Reviewed-on: https://chromium-review.googlesource.com/c/1350211 Commit-Queue: Zhiqiang Zhang <zqzhang@chromium.org> Reviewed-by: Thomas Guilbert <tguilbert@chromium.org> Cr-Commit-Position: refs/heads/master@{#611030}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .