diff options
author | Philip Junker <philipjunker@google.com> | 2021-07-15 18:01:11 +0200 |
---|---|---|
committer | Philip Junker <philipjunker@google.com> | 2021-08-05 08:09:10 +0000 |
commit | 79023f08d310bf1c5405ca70c563938bd51756cc (patch) | |
tree | 915a1a0574135d7331b418b64113e18d58ed95d3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 15e77132ccb422e1ba404b2cda3991ea4a1d8bc1 (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)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions