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

Commit efe2dd23 authored by Ricky Wai's avatar Ricky Wai Committed by android-build-merger
Browse files

Merge "Hide notification before tie managed profile lock" into nyc-dev am:...

Merge "Hide notification before tie managed profile lock" into nyc-dev am: fcc38e6c am: 9f519245
am: 6170c887

* commit '6170c887':
  Hide notification before tie managed profile lock

Change-Id: I99bde92c3f4031e9b2d361a3cc7edca5088b6e8f
parents f53a0484 6170c887
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -340,8 +340,9 @@ public class LockSettingsService extends ILockSettings.Stub {
    }

    public void onUnlockUser(int userId) {
        tieManagedProfileLockIfNecessary(userId, null);
        // Hide notification first, as tie managed profile lock takes time
        hideEncryptionNotification(new UserHandle(userId));
        tieManagedProfileLockIfNecessary(userId, null);

        // Now we have unlocked the parent user we should show notifications
        // about any profiles that exist.