commit | 3122fa85b2f18c0a89f5fe1ef0942c530a271843 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Thu Jun 18 01:38:59 2015 -0700 |
committer | Selim Cinek <cinek@google.com> | Thu Jun 18 15:30:36 2015 -0700 |
tree | c2a826f9c0c87c3881f03d60254b75160898e043 | |
parent | b0a8d2c4aecb6dfe5f7a95f56ca739fbea6301e5 [diff] [blame] |
Added a message to the keyguard bouncer A message can now be shown on the keyguard bouncer explaining why the bouncer is being shown. Bug: 21618072 Change-Id: I25aea9cc242abbf6a133fb42cc4407f5c2f3f688
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPukView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPukView.java index b85d966..af88239 100644 --- a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPukView.java +++ b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPukView.java
@@ -140,6 +140,12 @@ } } + @Override + protected int getPromtReasonStringRes(int reason) { + // No message on SIM Puk + return 0; + } + private String getPukPasswordErrorMessage(int attemptsRemaining) { String displayMessage;