summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityCallback.java
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/KeyguardSecurityCallback.java')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardSecurityCallback.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityCallback.java b/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityCallback.java
index 5877bc8..836c195 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityCallback.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityCallback.java
@@ -37,8 +37,10 @@ public interface KeyguardSecurityCallback {
/**
* Call to report an unlock attempt.
* @param success set to 'true' if user correctly entered security credentials.
+ * @param timeoutMs timeout in milliseconds to wait before reattempting an unlock.
+ * Only nonzero if 'success' is false
*/
- void reportUnlockAttempt(boolean success);
+ void reportUnlockAttempt(boolean success, int timeoutMs);
/**
* Resets the keyguard view.