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

Commit 2f21ab3e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Don't show IME on power menu popups" into rvc-dev am: 2801d98b am: fc4d5051

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936019

Change-Id: I57bf335d074b84b2722ffc35c0d8d3fb30a5c2c2
parents 58c55217 fc4d5051
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -54,6 +54,7 @@ public class GlobalActionsPopupMenu extends ListPopupWindow {


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


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


        return dialog;
        return dialog;
    }
    }