diff options
author | Eran Messeri <eranm@google.com> | 2020-01-14 17:27:11 +0000 |
---|---|---|
committer | Eran Messeri <eranm@google.com> | 2020-01-21 13:58:50 +0000 |
commit | cc5d11e8bb2beb91c9050070b821ef8b2b7d7317 (patch) | |
tree | b61279e3cbd789685a63a3658769837d1c8e6856 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 42132edbfdd486ca4c9334486df34cd7ad738b15 (diff) |
Prevent auto-granting of location permission via DPM
Prevent the device policy client from granting the location permission
via explicit grant (setPermissionGrantState).
Unless on a managed, unattended kiosk device, the user has to explicitly
grant location-related permissions.
Location-related permissions can still be denied automatically.
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testLocationPermissions
Bug: 147650798
Change-Id: I5a1099a15b94a287414e42e174735dc87f930c6f
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions