Merge "Re-adding the task to recents once task affinity updated" into tm-dev am: 7391919a15
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17799735 Change-Id: I66abe4f460d0c00429e7c564ec83e41d95561f95 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user