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

Commit d450aa9a authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Fix IME layout

When introducing the fitToDisplay variable, it should have been

fitToDisplay = task != null -> (implies) !task.isFloating();

but was written as task != null && !task.isFloating.

Bug: 28182018
Change-Id: If0be86f1ed8bb88914ce167e9f5273b6b3dc2571
parent fed6c65f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2608,7 +2608,7 @@ final class WindowState implements WindowManagerPolicy.WindowState {
        final int ph = containingFrame.height();
        final Task task = getTask();
        final boolean nonFullscreenTask = isInMultiWindowMode();
        final boolean fitToDisplay = task != null && !nonFullscreenTask && !layoutInParentFrame();
        final boolean fitToDisplay = (task == null || !nonFullscreenTask) && !layoutInParentFrame();
        float x, y;
        int w,h;