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

Commit a8bf3e3f authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Automerger Merge Worker
Browse files

Merge "Fix task cannot exit split if the app is request for moveTaskToBack"...

Merge "Fix task cannot exit split if the app is request for moveTaskToBack" into main am: a854e4c8

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



Change-Id: I663e3c271879e8ee1f2a0a2ecb7fa99c523ad823
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents b9e8f09d a854e4c8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5807,9 +5807,9 @@ class Task extends TaskFragment {
    }

    private boolean canMoveTaskToBack(Task task) {
        // Checks whether a task is a child of this task because it can be reparetned when
        // Checks whether a task is a child of this task because it can be reparented when
        // transition is deferred.
        if (task != this && task.getParent() != this) {
        if (task != this && !task.isDescendantOf(this)) {
            return false;
        }