diff options
author | Philip Junker <philipjunker@google.com> | 2021-07-15 18:01:11 +0200 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-08-13 19:39:51 +0000 |
commit | 268425437440ca3e108bd76057053f59dc0ffb50 (patch) | |
tree | d9d6cb65f8b3d04132039d30ee67789bc8b0d1f5 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 65cedbaa32e50955e48a3694770ad236d27ac12f (diff) |
Disallow usb access to camera and mic devices if global privacy toggle is active
Note that this will not prevent currently running apps from accessing
usb devies to which a connection has already been established.
Removed isCameraDevicePresent() as this has been implemented as well in
UsbDevice#getHasVideoCapture().
Bug: 189915399
Test: Install nExt Camera - USB app, verify that camera is not accessible when camera privacy toggle is disabled.
Change-Id: Ie60adfe9fc667d883ad4a6b8d7582a4bc17d1549
Merged-In: Ie60adfe9fc667d883ad4a6b8d7582a4bc17d1549
(cherry picked from commit f063780d433c6e429a14dd4d98d67764d7760908)
(cherry picked from commit 79023f08d310bf1c5405ca70c563938bd51756cc)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions