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
This commit is contained in:
Arthur Hung
2019-12-18 16:17:08 +08:00
parent 355062a8c3
commit e696f2fb0e

View File

@@ -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();
}