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

Commit 1cf6480b authored by Irem Uguz's avatar Irem Uguz
Browse files

Update the order of admins in PolicyEnforcementInfo

PolicyEnforcementInfo sorts the admins in constructor in a way that
supervision admin will be first one if it exists. To keep the behaviour
consistent with DPMS.getEnforcingAdminInternal, change the ordering in
following way: supervision admins -> DPC admins -> other admins.

Test:  atest FrameworksServicesTests:com.android.server.devicepolicy.PolicyEnforcementInfoTest
Flag: android.app.admin.flags.policy_transparency_refactor_enabled
Bug: 414733570

Change-Id: Idf3f83c46f089b90e5f67a660736d2950b8c3524
parent bd5349dc
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