commit | 3f1ee607314a03b0a56c2522384199243b895854 | [log] [tgz] |
---|---|---|
author | Zhiqiang Zhang <zqzhang@google.com> | Tue Sep 11 01:10:42 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Sep 11 01:10:42 2018 |
tree | dfff8460934e83f9c51e99454d5c5bcc26b05e1f | |
parent | b0b26586b7079aaf37f46d17557b1060523ef724 [diff] |
[Android MR] Fix an issue on session relaunching Previously, we remove the SessionManagerListener upon session ending/ended. This is to stop listening to session changes after we are no longer interested in casting, while not being affected by MediaFling. However there's some tricky SDK behavior, such that session ending could be notified during a session relaunch. Then we never get onSessionStarted() signal. This CL checks for pending launch request before removing the listener, so that sessions can be relaunched. Bug: 711860 Change-Id: I582ae8bb6f038956c256ea88ae6115ed289fdfff Reviewed-on: https://chromium-review.googlesource.com/1217749 Reviewed-by: Thomas Guilbert <tguilbert@chromium.org> Commit-Queue: Zhiqiang Zhang <zqzhang@chromium.org> Cr-Commit-Position: refs/heads/master@{#590158}
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 .