summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2014-12-19 19:49:38 +0100
committerJorim Jaggi <jjaggi@google.com>2015-01-07 15:00:41 +0100
commit8a8941aa1be01fbfca8c4540298cc5de12b6538b (patch)
treed94f03d2386089a86114c960a9eb502ce4050fc0 /packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
parent4726247b97df2bccc8977f28a879c9bd09fa9666 (diff)
downloadframeworks_base-8a8941aa1be01fbfca8c4540298cc5de12b6538b.zip
frameworks_base-8a8941aa1be01fbfca8c4540298cc5de12b6538b.tar.gz
frameworks_base-8a8941aa1be01fbfca8c4540298cc5de12b6538b.tar.bz2
Remove dead code #4: Remove unused Keyguard strings
And also remove an unused class. Change-Id: I50a8a21d99a85cf0d3c301e7b54f434679e1be26
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
index 04ef57e..d2291d7 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardPINView.java
@@ -55,11 +55,7 @@ public class KeyguardPINView extends KeyguardPinBasedInputView {
protected void resetState() {
super.resetState();
- if (KeyguardUpdateMonitor.getInstance(mContext).getMaxBiometricUnlockAttemptsReached()) {
- mSecurityMessageDisplay.setMessage(R.string.faceunlock_multiple_failures, true);
- } else {
- mSecurityMessageDisplay.setMessage(R.string.kg_pin_instructions, false);
- }
+ mSecurityMessageDisplay.setMessage(R.string.kg_pin_instructions, false);
}
@Override