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

Commit aa3ef3cc authored by Adrian Roos's avatar Adrian Roos
Browse files

Prevent overlaying IME picker

Fixes: 181660568
Test: atest InputMethodPickerTest
Change-Id: I38bf34f5a76e2d32bbe727cba9fe14e7f38af244
parent f8c928be
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -200,6 +200,7 @@ public class InputMethodMenuController {
            final Window w = mSwitchingDialog.getWindow();
            final WindowManager.LayoutParams attrs = w.getAttributes();
            w.setType(WindowManager.LayoutParams.TYPE_INPUT_METHOD_DIALOG);
            w.setHideOverlayWindows(true);
            // Use an alternate token for the dialog for that window manager can group the token
            // with other IME windows based on type vs. grouping based on whichever token happens
            // to get selected by the system later on.