Merge "Change a nullable get to getOrDefault(,false)" into tm-dev am: 89c3325804
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18247862 Change-Id: Ib25d407f5a230c770298ded0d56577477b067e88 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2819,7 +2819,7 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
|
|||||||
* Note: checking fingerprint enrollment directly with the AuthController requires an IPC.
|
* Note: checking fingerprint enrollment directly with the AuthController requires an IPC.
|
||||||
*/
|
*/
|
||||||
public boolean getCachedIsUnlockWithFingerprintPossible(int userId) {
|
public boolean getCachedIsUnlockWithFingerprintPossible(int userId) {
|
||||||
return mIsUnlockWithFingerprintPossible.get(userId);
|
return mIsUnlockWithFingerprintPossible.getOrDefault(userId, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isUnlockWithFacePossible(int userId) {
|
private boolean isUnlockWithFacePossible(int userId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user