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

Commit a786621e authored by Chilun Huang's avatar Chilun Huang Committed by Automerger Merge Worker
Browse files

Merge "Do not reposition leaf tasks for single task stacks" into sc-dev am: cf150a40

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14062693

Change-Id: Ie6d524b8b9ca47f647f9b01b07d3be3be17a44c7
parents ac30a527 cf150a40
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5534,7 +5534,7 @@ class Task extends WindowContainer<WindowContainer> {
        mCurrentUser = userId;

        super.switchUser(userId);
        if (isLeafTask() && showToCurrentUser()) {
        if (!isRootTask() && showToCurrentUser()) {
            getParent().positionChildAt(POSITION_TOP, this, false /*includeParents*/);
        }
    }