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

Commit e696f2fb authored by Arthur Hung's avatar Arthur Hung
Browse files

Fix task is blank in multi-window when IME show

Apply alignToAdjustedBounds to child tasks when setAdjustedBounds in
ActivityStack.

Bug: 146217357
Test: atest SplitScreenTests CrossAppDragAndDropTests
Test: split window, launch app with edit text align bottom on second
window, lunch IME.

Change-Id: I81f7282914a5a001c494b9bc589a93d66558b1d7
parent 355062a8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3986,6 +3986,7 @@ class ActivityStack extends WindowContainer<WindowContainer> implements BoundsAn
            final PooledConsumer c = PooledLambda.obtainConsumer(Task::alignToAdjustedBounds,
                    PooledLambda.__(Task.class), adjusted ? mAdjustedBounds : getRawBounds(),
                    insetBounds, alignBottom);
            forAllTasks(c);
            c.recycle();
        }