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

Commit a854e4c8 authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Gerrit Code Review
Browse files

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

parents 9d591c90 05ea960d
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;
        }