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

Commit 895dafdb authored by Beverly Tai's avatar Beverly Tai Committed by Automerger Merge Worker
Browse files

Merge "Change a nullable get to getOrDefault(,false)" into tm-dev am: 89c33258

parents aa22d783 89c33258
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2819,7 +2819,7 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
     * Note: checking fingerprint enrollment directly with the AuthController requires an IPC.
     */
    public boolean getCachedIsUnlockWithFingerprintPossible(int userId) {
        return mIsUnlockWithFingerprintPossible.get(userId);
        return mIsUnlockWithFingerprintPossible.getOrDefault(userId, false);
    }

    private boolean isUnlockWithFacePossible(int userId) {