summaryrefslogtreecommitdiffstats
path: root/policy/src/com/android/internal
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2011-08-28 15:00:29 -0700
committerJim Miller <jaggies@google.com>2011-08-28 15:00:29 -0700
commitb0166bc62f781c3dd921560c0ebafd965603fb16 (patch)
tree49486e7782089e55b1fa967183ef9a1258a484ee /policy/src/com/android/internal
parent3efc794f8563558b9792cc8ffa1ab9e81a0129ea (diff)
downloadframeworks_base-b0166bc62f781c3dd921560c0ebafd965603fb16.zip
frameworks_base-b0166bc62f781c3dd921560c0ebafd965603fb16.tar.gz
frameworks_base-b0166bc62f781c3dd921560c0ebafd965603fb16.tar.bz2
Fix 5216579: Don't show IME switch option in numeric mode of lockscreen
Since LockScreen provides its own PIN entry keyboard, we don't need to show the IME switcher button. Change-Id: I04528acaee66e5109d631c0c79a3e7c64876e4c5
Diffstat (limited to 'policy/src/com/android/internal')
-rw-r--r--policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java b/policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java
index ee0a6e9..ce3bc74 100644
--- a/policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java
+++ b/policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java
@@ -165,7 +165,7 @@ public class PasswordUnlockScreen extends LinearLayout implements KeyguardScreen
View switchImeButton = findViewById(R.id.switch_ime_button);
final InputMethodManager imm = (InputMethodManager) getContext().getSystemService(
Context.INPUT_METHOD_SERVICE);
- if (switchImeButton != null && hasMultipleEnabledIMEsOrSubtypes(imm, false)) {
+ if (mIsAlpha && switchImeButton != null && hasMultipleEnabledIMEsOrSubtypes(imm, false)) {
switchImeButton.setVisibility(View.VISIBLE);
switchImeButton.setOnClickListener(new OnClickListener() {
public void onClick(View v) {