diff options
author | Lucas Dupin <dupin@google.com> | 2017-12-04 14:29:10 -0800 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2018-01-11 13:15:31 -0800 |
commit | c80c67e7bc96691b6e3700bac49e819ad52db0ae (patch) | |
tree | e9115a436eca8b77eb4aa7ab20645a458c960549 /packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java | |
parent | c9c82958ab21cb987be8c57b69a1e43037c30543 (diff) |
Allow custom keyguard "prompt reason"
Adds the possibility of presenting a custom message on
the keyboard if you're trying to dismiss the keyguard.
This is particularly useful when you're showing the
bouncer because custom authentication (SmarLock)
failed.
Test: launch FLAG_SHOW_WHEN_LOCKED activity and
call KeyguardManager#requestDismissKeyguard
Fixes: 63940122
Change-Id: I0d88c0e59521887efa56d74874062b2b14970e4e
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java index d636316dfe96..cb066a10a9c9 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java @@ -398,7 +398,7 @@ public class KeyguardPatternView extends LinearLayout implements KeyguardSecurit } @Override - public void showMessage(String message, int color) { + public void showMessage(CharSequence message, int color) { mSecurityMessageDisplay.setNextMessageColor(color); mSecurityMessageDisplay.setMessage(message); } |