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

Commit 7391919a authored by Louis Chang's avatar Louis Chang Committed by Android (Google) Code Review
Browse files

Merge "Re-adding the task to recents once task affinity updated" into tm-dev

parents 1fe5f9e0 8fdef464
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -1086,6 +1086,12 @@ class Task extends TaskFragment {
            updateTaskDescription();
            updateTaskDescription();
        }
        }
        mSupportsPictureInPicture = info.supportsPictureInPicture();
        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. */
    /** Sets the original minimal width and height. */