Merge "Fix NPE in LockSettingsService." into cw-f-dev am: 4aff3d53ef
am: a01e2212c8
Change-Id: Id333403e3a989e233a97760b716055b3abd186d6
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