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

Commit 35bade04 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix DevicePolicyManagerTest" into main

parents 1e912744 d08bd1ff
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7631,6 +7631,7 @@ public class DevicePolicyManagerTest extends DpmTestBase {

        addManagedProfile(admin1, managedProfileAdminUid, admin1);
        mContext.binder.callingUid = managedProfileAdminUid;
        when(getServices().userManager.isManagedProfile()).thenReturn(true);

        final Set<Integer> allowedModes = Set.of(PASSWORD_COMPLEXITY_NONE, PASSWORD_COMPLEXITY_LOW,
                PASSWORD_COMPLEXITY_MEDIUM, PASSWORD_COMPLEXITY_HIGH);