commit | 12c876ae82355de6285bf0879023f1d1f1822ecf | [log] [tgz] |
---|---|---|
author | Guido Urdaneta <guidou@chromium.org> | Thu Mar 01 10:47:37 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Mar 01 10:47:37 2018 |
tree | d65baee77bb8881fcf76db4990486a2cc9359e1b | |
parent | 77e9a26e5879f776ac8e20bd07a7ad1aeb3f38b4 [diff] |
Fix MediaObserver notifications in MediaStreamManager. This CL fixes the stream type used to notify MediaObserver about cancelled MediaStream requests. Before this CL, NUM_MEDIA_TYPES was used as stream type to indicate that all stream types should be cancelled. However, the MediaObserver end does not interpret NUM_MEDIA_TYPES this way and the request to update the UI is ignored. This CL sends a separate notification for each stream type so that the UI actually gets updated for all stream types in use. Bug: 816033 Change-Id: Ib7d3b3046d1dd0976627f8ab38abf086eacc9405 Reviewed-on: https://chromium-review.googlesource.com/939630 Commit-Queue: Guido Urdaneta <guidou@chromium.org> Reviewed-by: Raymes Khoury <raymes@chromium.org> Cr-Commit-Position: refs/heads/master@{#540122}
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 .