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

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

DPMS: Simplify password sufficiency check on parent

Simplify the password sufficiency check to only pass around the right
user ID, not the parent parameter, which was confusing.

Instead, calls to getActiveAdminsForLockscreenPoliciesLocked pass in the
right user handle, rather than the user handle from the original call
plus the parent parameter

Bug: 172312413
Bug: 165573442
Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Test: atest MixedDeviceOwnerTest MixedProfileOwnerTest OrgOwnedProfileOwnerTest  MixedDeviceOwnerTestApi25 MixedManagedProfileOwnerTest
Change-Id: If1cf5de6ccdf324e2332c0521d4366decdf35804
parent 7c1f4023
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