Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0166bc6 authored by Jim Miller's avatar Jim Miller
Browse files

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
parent 3efc794f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {