diff options
author | Selim Cinek <cinek@google.com> | 2015-08-11 14:58:44 -0700 |
---|---|---|
committer | Selim Cinek <cinek@google.com> | 2015-08-11 16:37:54 -0700 |
commit | cfafe4ea6ff1610c24d94a9a9ecc7df6b841518c (patch) | |
tree | 2cade289fabc638c60e8bca6ebbdde0f89fd49e1 /packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java | |
parent | ec85b52232b603086e3cb85214e0895dd99c2b4b (diff) |
Indicating fingerprint error messages on the bouncer now
Also ensure that error messages are surfaced when the screen
comes on such that the user knows why his fingerprint is not
working.
Bug: 22035466
Bug: 22524101
Change-Id: I00b0e833cdb8a3475545ba75b8cb7bf7a419dfd4
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java')
-rw-r--r-- | packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java index 8f792de32db9..dfc31ab44aec 100644 --- a/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java +++ b/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java @@ -234,6 +234,12 @@ public abstract class KeyguardAbsKeyInputView extends LinearLayout } } + @Override + public void showMessage(String message, int color) { + mSecurityMessageDisplay.setNextMessageColor(color); + mSecurityMessageDisplay.setMessage(message, true /* important */); + } + protected abstract int getPromtReasonStringRes(int reason); // Cause a VIRTUAL_KEY vibration |