summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2023-02-12 15:33:02 -0800
committer Alejandro Nijamkin <nijamkin@google.com> 2023-02-13 15:02:51 -0800
commitafc6a41e88ff1e6528a9ef02d98690214eb012b7 (patch)
treea6b6b793d3d725f988ccbdc69bb0b0329aefb1b4 /libs/androidfw/ApkParsing.cpp
parentd3d710e83784713a458be2fd23419c5a3b9f1e77 (diff)
Camera quick affordance respects device policy.
If the device admin policy disables the camera, neither the stills nor the video camera quick affordances are available. If stills one also respects the "secure camera" disablement flag, which the the video one does not need to, because it always requires an unlock to access the video camera (due to a missing camera API). Bug: 268218507 Test: unit tests added Test: temporarily faked DevicePolicyManager API and manually verified that the camera and video camera options do not show up in wallpaper picker. Change-Id: Ia5b68283a25bc686ab11258a4b55b001fabcf562
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions