diff options
author | Eric Sandness <sandness@google.com> | 2018-03-27 09:56:40 +0100 |
---|---|---|
committer | Eric Sandness <sandness@google.com> | 2018-03-27 09:13:11 +0000 |
commit | df30c7d2e0bd59a1ed92d63bd1b4dc9c320e2ab6 (patch) | |
tree | 184ccfdde96f21ef2036921f1786a89f08448e0f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | af13eeb11050b27419a235737a30b5a3335fdbe0 (diff) |
Permission Check For DPM.isDeviceProvisioned
Require the caller of DPM.isDeviceProvisioned() to hold the MANAGE_USERS
permission. The only callers should be within the framework itself, or
apps involved in device provisioning which already hold this permission.
Bug: 62343414
Test: Set TestDPC as Device Owner and use it to reset password
Test: com.android.server.devicepolicy.DevicePolicyManagerTest
Test: com.android.server.locksettings.LockSettingsServiceTests
Test: com.google.android.gts.devicepolicy.DevicePolicyManagerTest
Change-Id: Ie53deb5ba8679a5b431f2a8da60ec9710c44d56f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions