diff options
author | Eran Messeri <eranm@google.com> | 2021-02-03 10:56:41 +0000 |
---|---|---|
committer | Eran Messeri <eranm@google.com> | 2021-02-06 21:13:45 +0000 |
commit | cb0bed367eea469cd1b5d27dcac67d1185c903df (patch) | |
tree | b39bffe674128480cfb342801ca078de2d81bd7d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d12736a825802a00bdde1964b31186a1fc272fa3 (diff) |
Indicator for admin control over sensor permission grants
Add a flag indicating whether an admin may or may not control permission
grants for sensors-related permissions.
By default, on a fully-managed device, the admin may control sensor
permission grants. The admin may opt-out by providing the newly-added
provisioning extra, EXTRA_PROVISIONING_PERMISSION_GRANT_OPT_OUT.
On a managed profile, will no longer be able to control sensor
permission grants.
This change adds the provisioning extra and state flag in the
ActiveAdmin, a follow-up change will make the permission controller
utilize the flag.
Bug: 158735247
Test: atest android.devicepolicy.cts.DevicePolicyManagerTest
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testAdminControlOverSensorPermissionGrantsDefault com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testAdminControlOverSensorPermissionGrantsDefault com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testAdminControlOverSensorPermissionGrantsDefault com.android.cts.devicepolicy.MixedProfileOwnerTest#testAdminControlOverSensorPermissionGrantsDefault
Change-Id: Iffd02450ee624416eccda8301ff84676f226c0d0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions