Take VM media capture state into account in NotifyCaptureState()
VM media capture state was used only in NotifyVmCaptureState(). This CL makes NotifyCaptureState() take it into account too. UserChooserView is the only class subscribing to NotifyCaptureState(), so it will also display the media capturing red dot now when VM is using the camera or mic. Bug: 167491603 Change-Id: I426a83858eb209ec016e1b77580fd94c5817055c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2465895 Commit-Queue: Jason Lin <lxj@google.com> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#816811}
Showing
Please register or sign in to comment