Skip to content
Commit cc5d11e8 authored by Eran Messeri's avatar Eran Messeri
Browse files

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
parent 42132edb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment