Disable trust agents after wrong credential is entered
Bug: 16498202 Change-Id: I36f2e80aec8c04bcb6e6d9f1b0e2ebb8fc49998e
This commit is contained in:
@@ -256,15 +256,11 @@ public class LockPatternUtils {
|
||||
getCurrentOrCallingUserId());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the actual password mode, as set by keyguard after updating the password.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public void reportFailedPasswordAttempt() {
|
||||
getDevicePolicyManager().reportFailedPasswordAttempt(getCurrentOrCallingUserId());
|
||||
getTrustManager().reportUnlockAttempt(false /* authenticated */,
|
||||
getCurrentOrCallingUserId());
|
||||
int userId = getCurrentOrCallingUserId();
|
||||
getDevicePolicyManager().reportFailedPasswordAttempt(userId);
|
||||
getTrustManager().reportUnlockAttempt(false /* authenticated */, userId);
|
||||
getTrustManager().reportRequireCredentialEntry(userId);
|
||||
}
|
||||
|
||||
public void reportSuccessfulPasswordAttempt() {
|
||||
|
||||
Reference in New Issue
Block a user