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

Commit 992fee0d authored by Louis Chang's avatar Louis Chang Committed by Automerger Merge Worker
Browse files

Merge "Re-adding the task to recents once task affinity updated" into tm-dev am: 7391919a

parents fe6e0043 7391919a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1086,6 +1086,12 @@ class Task extends TaskFragment {
            updateTaskDescription();
        }
        mSupportsPictureInPicture = info.supportsPictureInPicture();

        // Re-adding the task to Recents once updated
        if (inRecents) {
            mTaskSupervisor.mRecentTasks.remove(this);
            mTaskSupervisor.mRecentTasks.add(this);
        }
    }

    /** Sets the original minimal width and height. */