Merge "Prevent position topmost task to top"

This commit is contained in:
TreeHugger Robot
2020-02-14 03:38:39 +00:00
committed by Android (Google) Code Review

View File

@@ -2008,10 +2008,6 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
for (int stackNdx = display.getStackCount() - 1; stackNdx >= 0; --stackNdx) {
final ActivityStack stack = display.getStackAt(stackNdx);
stack.switchUser(userId);
Task task = stack.getTopMostTask();
if (task != null && task != stack) {
stack.positionChildAtTop(task);
}
}
}