Skip to content
Commit f9d6f9ad authored by Alex Johnston's avatar Alex Johnston
Browse files

Handle permission-based admin policy persistence

Changes:
- Add a permission based admin to DevicePolicyData.
  This admin will not have a ComponentName or admin info.
- Update setCameraDisabled and getCameraDisabled to
  be callable by an app with the
  MANAGE_DEVICE_POLICY_CAMERA permission.

Bug: 234609037
Test: atest CameraPolicyTest
Change-Id: I5031c38f79c91fdccfae4ae3903e12016c6c83e4
parent 96753d9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment