GMC: Refresh devices without having to reopen the dialog
The global media controls UI displays the audio devices connected to the system. This change allows the UI to refresh the devices it shows as availability changes. Because of an existing bug in device update processing on linux (crbug.com/1112480) a new class for monitoring these changes was created. The implementation for linux will poll the system whereas the implementation for all other OSes will be notified of changes. Bug: 1113944 Change-Id: I0d285ff0486fc1fb1307b5d78a5a998dcde131ad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2341181 Commit-Queue: Noah Rose Ledesma <noahrose@google.com> Reviewed-by:Tommy Steimel <steimel@chromium.org> Cr-Commit-Position: refs/heads/master@{#799472}
Showing
Please register or sign in to comment