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

Commit 70511db9 authored by Jeff Chang's avatar Jeff Chang Committed by Android (Google) Code Review
Browse files

Merge "Fix stack reference is not updated when task organizer is dead." into rvc-dev

parents 66929380 1cfcdf7b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1423,7 +1423,7 @@ class Task extends WindowContainer<WindowContainer> {
    void removeChild(WindowContainer r, String reason) {
        // A rootable child task that is now being removed from an organized task. Making sure
        // the stack references is keep updated.
        if (mTaskOrganizer != null && mCreatedByOrganizer && r.asTask() != null) {
        if (mCreatedByOrganizer && r.asTask() != null) {
            getDisplayArea().removeStackReferenceIfNeeded((ActivityStack) r);
        }
        if (!mChildren.contains(r)) {