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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user