Merge "Re-adding the task to recents once task affinity updated" into tm-dev
This commit is contained in:
@@ -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. */
|
||||||
|
|||||||
Reference in New Issue
Block a user