summaryrefslogtreecommitdiffstats
path: root/policy/com/android/internal/policy/impl/AccountUnlockScreen.java
diff options
context:
space:
mode:
Diffstat (limited to 'policy/com/android/internal/policy/impl/AccountUnlockScreen.java')
-rw-r--r--policy/com/android/internal/policy/impl/AccountUnlockScreen.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/policy/com/android/internal/policy/impl/AccountUnlockScreen.java b/policy/com/android/internal/policy/impl/AccountUnlockScreen.java
index 7992dd8..26419dd 100644
--- a/policy/com/android/internal/policy/impl/AccountUnlockScreen.java
+++ b/policy/com/android/internal/policy/impl/AccountUnlockScreen.java
@@ -177,12 +177,14 @@ public class AccountUnlockScreen extends RelativeLayout implements KeyguardScree
intent.setClassName(LOCK_PATTERN_PACKAGE, LOCK_PATTERN_CLASS);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
mContext.startActivity(intent);
+ mCallback.reportSuccessfulUnlockAttempt();
// close the keyguard
mCallback.keyguardDone(true);
} else {
mInstructions.setText(R.string.lockscreen_glogin_invalid_input);
mPassword.setText("");
+ mCallback.reportFailedUnlockAttempt();
}
}