diff options
author | Lucas Dupin <dupin@google.com> | 2019-05-16 17:56:43 -0700 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2019-05-16 19:15:04 -0700 |
commit | 51996bbc0384a7f4d70e96255cf33e42136be87a (patch) | |
tree | c39359846b22e80f47089e0afba3fdc83590df89 /packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java | |
parent | 86387b3487859c2f11e974a46b1d037e0b585fae (diff) |
Face auth messaging cleanup
Do not show timeout message, and ask user to swipe up to retry when
auth fails.
Fixes: 132465944
Test: biometric error on bouncer and LS
Test: wait for face timeout
Change-Id: Iec757f25d5f09b05ac02811e2eeef6ac98f63f16
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java index 0e91e4109ec0..f3baf8d3fd99 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java @@ -438,7 +438,9 @@ public class KeyguardPatternView extends LinearLayout implements KeyguardSecurit @Override public void showMessage(CharSequence message, ColorStateList colorState) { - mSecurityMessageDisplay.setNextMessageColor(colorState); + if (colorState != null) { + mSecurityMessageDisplay.setNextMessageColor(colorState); + } mSecurityMessageDisplay.setMessage(message); } |