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: I77007124e7e3dff7ec0d7de2975e3ee3c5a6bde0 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();
|
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