Loading core/java/com/android/internal/widget/LockPatternUtils.java +2 −2 Original line number Diff line number Diff line Loading @@ -371,7 +371,7 @@ public class LockPatternUtils { return false; } } catch (RemoteException re) { return true; return false; } } Loading Loading @@ -464,7 +464,7 @@ public class LockPatternUtils { return false; } } catch (RemoteException re) { return true; return false; } } Loading services/core/java/com/android/server/LockSettingsService.java +7 −0 Original line number Diff line number Diff line Loading @@ -1243,6 +1243,10 @@ public class LockSettingsService extends ILockSettings.Stub { private VerifyCredentialResponse doVerifyPattern(String pattern, CredentialHash storedHash, boolean hasChallenge, long challenge, int userId, ICheckCredentialProgressCallback progressCallback) throws RemoteException { if (TextUtils.isEmpty(pattern)) { throw new IllegalArgumentException("Pattern can't be null or empty"); } boolean shouldReEnrollBaseZero = storedHash != null && storedHash.isBaseZeroPattern; String patternToVerify; Loading Loading @@ -1340,6 +1344,9 @@ public class LockSettingsService extends ILockSettings.Stub { private VerifyCredentialResponse doVerifyPassword(String password, CredentialHash storedHash, boolean hasChallenge, long challenge, int userId, ICheckCredentialProgressCallback progressCallback) throws RemoteException { if (TextUtils.isEmpty(password)) { throw new IllegalArgumentException("Password can't be null or empty"); } return verifyCredential(userId, storedHash, password, hasChallenge, challenge, new CredentialUtil() { @Override Loading Loading
core/java/com/android/internal/widget/LockPatternUtils.java +2 −2 Original line number Diff line number Diff line Loading @@ -371,7 +371,7 @@ public class LockPatternUtils { return false; } } catch (RemoteException re) { return true; return false; } } Loading Loading @@ -464,7 +464,7 @@ public class LockPatternUtils { return false; } } catch (RemoteException re) { return true; return false; } } Loading
services/core/java/com/android/server/LockSettingsService.java +7 −0 Original line number Diff line number Diff line Loading @@ -1243,6 +1243,10 @@ public class LockSettingsService extends ILockSettings.Stub { private VerifyCredentialResponse doVerifyPattern(String pattern, CredentialHash storedHash, boolean hasChallenge, long challenge, int userId, ICheckCredentialProgressCallback progressCallback) throws RemoteException { if (TextUtils.isEmpty(pattern)) { throw new IllegalArgumentException("Pattern can't be null or empty"); } boolean shouldReEnrollBaseZero = storedHash != null && storedHash.isBaseZeroPattern; String patternToVerify; Loading Loading @@ -1340,6 +1344,9 @@ public class LockSettingsService extends ILockSettings.Stub { private VerifyCredentialResponse doVerifyPassword(String password, CredentialHash storedHash, boolean hasChallenge, long challenge, int userId, ICheckCredentialProgressCallback progressCallback) throws RemoteException { if (TextUtils.isEmpty(password)) { throw new IllegalArgumentException("Password can't be null or empty"); } return verifyCredential(userId, storedHash, password, hasChallenge, challenge, new CredentialUtil() { @Override Loading