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

Commit 83d0cd22 authored by Kevin Chyn's avatar Kevin Chyn Committed by android-build-merger
Browse files

Update UnlockMethodCache when screen turns off

am: 08ae6643

Change-Id: I132358dc66f04cb2531e6d57ed8d2dd14947b62d
parents 8d1a86ca 08ae6643
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -154,6 +154,11 @@ public class UnlockMethodCache {
        public void onStrongAuthStateChanged(int userId) {
            update(false /* updateAlways */);
        }

        @Override
        public void onScreenTurnedOff() {
            update(false /* updateAlways */);
        }
    };

    public boolean isTrustManaged() {