CrOS GMC: Fix a bug where controls can be empty in quick settings.
This CL changes the logic for displaying controls in quick settings such that we will only show controls if the title of the session is not empty and the session is controllable. This also matches the logic for showing notification in Chrome global media controls. Bug: 1142625 Change-Id: I91d7f8279b8602d89af50bdf7c891b3440abd9ac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2523735 Commit-Queue: Jazz Xu <jazzhsu@chromium.org> Reviewed-by:Tetsui Ohkubo <tetsui@chromium.org> Reviewed-by:
Tommy Steimel <steimel@chromium.org> Cr-Commit-Position: refs/heads/master@{#825455}
Showing
Please register or sign in to comment