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
Loading
Please register or sign in to comment