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

Commit 750563ee authored by Andrew Zeng's avatar Andrew Zeng
Browse files

Fix NPE in LockSettingsService.

Bug: 33789922

Change-Id: Iecdedd8d73d9f749f15a64131cc894d9f92de9d1
parent 165baf64
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1398,7 +1398,7 @@ public class LockSettingsService extends ILockSettings.Stub {
            return VerifyCredentialResponse.OK;
            return VerifyCredentialResponse.OK;
        }
        }


        if (TextUtils.isEmpty(credential)) {
        if (storedHash == null || TextUtils.isEmpty(credential)) {
            return VerifyCredentialResponse.ERROR;
            return VerifyCredentialResponse.ERROR;
        }
        }