summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Austin Borger <borgera@google.com> 2022-08-03 17:57:06 -0700
committer Austin Borger <borgera@google.com> 2022-09-07 18:28:04 +0000
commit92de002983a8c8c3db42b139dc5b9c1a4684938c (patch)
treeee2a0c4f0dd76acdf7e2be0c79274794ee042ce7 /cmds/bootanimation/BootAnimation.cpp
parent33c34d0a19576a463467858f52ac0c690a88aad8 (diff)
CameraService: Check if the camera is disabled via device policy by user.
The current approach to checking the camera device policy is multi-user agnostic. This patch takes the user into account. Modifications to the DevicePolicyManager are required for this to work. The camera service user needs to be able to make cross-user queries, so a check for its uid was added specifically for getCameraDisabled. Test: Tested GCA with device policy set via TestDPC Bug: 230026863 Change-Id: I922def3310f39b41dade06d656569222f4db46d7 Merged-In: I922def3310f39b41dade06d656569222f4db46d7
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions