commit | b9a047c94deb06ab7ff956e4fb50b19ddd70cf9a | [log] [tgz] |
---|---|---|
author | Austin Borger <[email protected]> | Wed May 08 15:47:58 2024 -0700 |
committer | Android Build Coastguard Worker <[email protected]> | Wed Mar 12 16:48:17 2025 -0700 |
tree | 2890cc3d157367c79560aba1b3097bc402215f60 | |
parent | 397d064c5e6a5a5329a613546f63f64129e43248 [diff] |
CameraService: Watch for foreground changes from AppOps AppOps now sends notifications when an app loses its camera capability. We should watch for these notifications and block clients when they happen, assuming they're untrusted. Otherwise, an app that should not have camera access outside of the foreground may retain it. Bug: 290086710 Test: Ran on physical device, tested Zoom + GCA (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5673af6bd01f27f50768e8e2d5b7d31cea461f1e) Merged-In: Iaa21d74873da1dcc2453ad98abb284bad3a211f5 Change-Id: Iaa21d74873da1dcc2453ad98abb284bad3a211f5