summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEric Sandness <sandness@google.com>2018-08-10 13:28:46 +0100
committerEric Sandness <sandness@google.com>2018-09-05 18:47:42 +0100
commitca5969d6e0b0dd288bf3316ca4973de5837442fc (patch)
tree1b581c6c72b90ec88a87a3e7756819e7191dcba0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2b3bcce1d4c0a1c76a8d9e2b942c54f8acb95b11 (diff)
Block Policies From Device Admin Targetting Q
If a device admin app targets Android Q or above, and it is not a device owner or profile owner, throw a SecurityException if it attempts to control the following policies: - DeviceAdminInfo.USES_POLICY_DISABLE_CAMERA - DeviceAdminInfo.USES_POLICY_DISABLE_KEYGUARD_FEATURES - DeviceAdminInfo.USES_POLICY_EXPIRE_PASSWORD - DeviceAdminInfo.USES_POLICY_LIMIT_PASSWORD The set of policies available to a device admin targetting Android P or below is unchanged. Bug: 111546201 Test: com.android.server.devicepolicy.DevicePolicyManagerTest Test: com.android.cts.devicepolicy.DeviceAdminHostSideTestApi24 Test: com.android.cts.devicepolicy.DeviceAdminHostSideTestApi29 Test: com.android.cts.devicepolicy.ManagedProfileTest Change-Id: Idcd0b4b91ad2fa363535c718928d382c7da054d4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions