Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update AppCapabilityAccessCache when Arc apps access Camera or Microp…
…hone. Modify ArcApps to observe arc::mojom::PrivacyItemsHost for the camera or microphone accessing. Implement OnPrivacyItemsChanged to update the camera or microphone accessing status in AppCapabilityAccessCache. For example: 1. OnPrivacyItemsChanged(App1:Camera) = App1 is using Camera 2. OnPrivacyItemsChanged(App1:Camera, App2:Microphone) = App1 is using Camera & App2 is using Microphone 3. OnPrivacyItemsChanged(App1:Camera) = App1 is using Camera App2 stops using Microphone 4. OnPrivacyItemsChanged(App1, Microphone) = App1 stops using Camera App1 is using Microphone 5. OnPrivacyItemsChanged() = App1 stops using Microphone BUG=1299988 Change-Id: I08d1cc64b2877b0bfb3b61ad4edeedbbcf763bf6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3538149 Reviewed-by: Dominick Ng <dominickn@chromium.org> Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Cr-Commit-Position: refs/heads/main@{#985577}
- Loading branch information
Nancy Wang
authored and
Chromium LUCI CQ
committed
Mar 26, 2022
1 parent
f2801dc
commit e6b7511
Showing
3 changed files
with
208 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters