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

Commit e012e839 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix small typo in IME assignment."

parents fb922ea2 b8e78faf
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -3574,7 +3574,9 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo

                int layer = mService.mPolicy.getWindowLayerFromTypeLw(
                        wt.windowType, wt.mOwnerCanManageAppTokens);
                if (needAssignIme && layer >= TYPE_INPUT_METHOD_DIALOG) {

                if (needAssignIme && layer >= mService.mPolicy.getWindowLayerFromTypeLw(
                                TYPE_INPUT_METHOD_DIALOG, true)) {
                    t.setRelativeLayer(imeContainer.getSurfaceControl(),
                            wt.getSurfaceControl(), -1);
                    needAssignIme = false;
@@ -3582,7 +3584,7 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
            }
            if (needAssignIme) {
                t.setRelativeLayer(imeContainer.getSurfaceControl(),
                        getSurfaceControl(), Integer.MIN_VALUE);
                        getSurfaceControl(), Integer.MAX_VALUE);
            }
        }
    }