Fix NPE in LockSettingsService.
Bug: 33789922 Change-Id: Iecdedd8d73d9f749f15a64131cc894d9f92de9d1
This commit is contained in:
@@ -1398,7 +1398,7 @@ public class LockSettingsService extends ILockSettings.Stub {
|
||||
return VerifyCredentialResponse.OK;
|
||||
}
|
||||
|
||||
if (TextUtils.isEmpty(credential)) {
|
||||
if (storedHash == null || TextUtils.isEmpty(credential)) {
|
||||
return VerifyCredentialResponse.ERROR;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user