summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2015-09-23 11:52:12 -0700
committerJorim Jaggi <jjaggi@google.com>2015-09-23 11:52:12 -0700
commitad371b2e2215c76bc0f852dabc4ddb563c603af3 (patch)
tree7270f515b4a19e940c89fad2c3340831e2d69e5e /packages
parent1b68e8b711281a65c73006f10fdc2fdf2379ad60 (diff)
downloadframeworks_base-ad371b2e2215c76bc0f852dabc4ddb563c603af3.zip
frameworks_base-ad371b2e2215c76bc0f852dabc4ddb563c603af3.tar.gz
frameworks_base-ad371b2e2215c76bc0f852dabc4ddb563c603af3.tar.bz2
Update message in SIM PIN view when configuration changes
Bug: 24273807 Change-Id: I497fcd2ee527ec22d14ff1b6c30be4ef9a878980
Diffstat (limited to 'packages')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java
index aeac912..2033159 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java
@@ -23,6 +23,7 @@ import com.android.internal.telephony.PhoneConstants;
import android.content.Context;
import android.content.res.ColorStateList;
+import android.content.res.Configuration;
import android.content.res.Resources;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
@@ -96,6 +97,12 @@ public class KeyguardSimPinView extends KeyguardPinBasedInputView {
}
@Override
+ protected void onConfigurationChanged(Configuration newConfig) {
+ super.onConfigurationChanged(newConfig);
+ resetState();
+ }
+
+ @Override
protected int getPromtReasonStringRes(int reason) {
// No message on SIM Pin
return 0;