diff options
author | Alex Johnston <acjohnston@google.com> | 2020-03-25 12:36:10 +0000 |
---|---|---|
committer | Alex Johnston <acjohnston@google.com> | 2020-03-25 20:16:28 +0000 |
commit | 103f93a7e64510e895af5d05385f723a87580808 (patch) | |
tree | 82d2f887409af16747a7a83cf031d008b21c03cd /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 52a836d49c7b686c6df40b0614b5b56889993716 (diff) |
Make FRP APIs callable by Settings
Background
* If the device is an organization-owned managed
profile device and a FRP policy is set, the
factory reset protection data is no longer
erased from factory reset in Settings.
Changes
* Added isNotEmpty method to FRP policy.
* Allow Settings to call
getFactoryResetProtectionPolicy
by checking for the MASTER_CLEAR permission.
Bug: 148847767
Test: manual testing
atest com.android.server.devicepolicy.DevicePolicyManagerTest
Change-Id: I04f178255dd215579087c33b675b40eed7a6eac7
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions