Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e8b31f40 authored by Rafael Prado's avatar Rafael Prado
Browse files

Change cross user permission for MANAGE_DEVICE_POLICY_LOCK.

* Changing it from `MANAGE_DEVICE_POLICY_ACROSS_USERS_FULL` to
  `MANAGE_DEVICE_POLICY_ACROSS_USERS_SECURITY_CRITICAL`.
* `MANAGE_DEVICE_POLICY_ACROSS_USERS_FULL` is only for privacy intrusive policies, and locking the device is clearly not such policy and should be available to profile owners as well.

Test: btest android.devicepolicy.cts.LockTest with feature flag
on/off
Bug: 378882674
Bug: 336297680
Flag: android.app.admin.flags.lock_now_coexistence

Change-Id: I52c23f0a0d0e419fd172e19aef3a862c57f25e6b
parent 8a64ce3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment