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

Commit 6482c08d authored by Eric Biggers's avatar Eric Biggers Committed by Android (Google) Code Review
Browse files

Merge "Use isCeStorageUnlocked() in ConfirmDeviceCredentialActivity" into main

parents d4d9c4fe 45f71ab1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -417,7 +417,7 @@ public class ConfirmDeviceCredentialActivity extends FragmentActivity {
            // the profile user using verifyTiedProfileChallenge. Biometrics can still be used if
            // the user is stopped with delayed locking (i.e., with storage unlocked), so the user
            // state (whether the user is in the RUNNING_UNLOCKED state) should not be relied upon.
            return !StorageManager.isUserKeyUnlocked(userId);
            return !StorageManager.isCeStorageUnlocked(userId);
        }
        return !mUserManager.isUserUnlocked(userId);
    }