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

Commit b990cc87 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Don't show IME on power menu popups

Test: manual
Fixes: 159344324
Change-Id: Ic8852fa02072dd0ce425120fff1d58e41af05415
parent 861a8178
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ public class GlobalActionsPopupMenu extends ListPopupWindow {

        // required to show above the global actions dialog
        setWindowLayoutType(WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY);
        setInputMethodMode(INPUT_METHOD_NOT_NEEDED);
        setModal(true);

        mGlobalActionsSidePadding = res.getDimensionPixelSize(R.dimen.global_actions_side_margin);
+1 −0
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ public class GlobalActionsPowerDialog {
        window.setTitle(""); // prevent Talkback from speaking first item name twice
        window.setBackgroundDrawable(res.getDrawable(
                com.android.systemui.R.drawable.control_background, context.getTheme()));
        window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);

        return dialog;
    }