Merge "Not to update recent tasks split pairs when shell transition enabled" into tm-qpr-dev am: 313aae1ef2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19745384 Change-Id: I056a32079da96fae02bf21bc80c1bbbf54b79226 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -105,8 +105,8 @@ public class FullscreenTaskListener<T extends AutoCloseable>
|
|||||||
state.mTaskInfo = taskInfo;
|
state.mTaskInfo = taskInfo;
|
||||||
mTasks.put(taskInfo.taskId, state);
|
mTasks.put(taskInfo.taskId, state);
|
||||||
|
|
||||||
updateRecentsForVisibleFullscreenTask(taskInfo);
|
|
||||||
if (Transitions.ENABLE_SHELL_TRANSITIONS) return;
|
if (Transitions.ENABLE_SHELL_TRANSITIONS) return;
|
||||||
|
updateRecentsForVisibleFullscreenTask(taskInfo);
|
||||||
if (shouldShowWindowDecor(taskInfo) && mWindowDecorViewModelOptional.isPresent()) {
|
if (shouldShowWindowDecor(taskInfo) && mWindowDecorViewModelOptional.isPresent()) {
|
||||||
SurfaceControl.Transaction t = new SurfaceControl.Transaction();
|
SurfaceControl.Transaction t = new SurfaceControl.Transaction();
|
||||||
state.mWindowDecoration =
|
state.mWindowDecoration =
|
||||||
@@ -135,8 +135,8 @@ public class FullscreenTaskListener<T extends AutoCloseable>
|
|||||||
mWindowDecorViewModelOptional.get().onTaskInfoChanged(
|
mWindowDecorViewModelOptional.get().onTaskInfoChanged(
|
||||||
state.mTaskInfo, state.mWindowDecoration);
|
state.mTaskInfo, state.mWindowDecoration);
|
||||||
}
|
}
|
||||||
updateRecentsForVisibleFullscreenTask(taskInfo);
|
|
||||||
if (Transitions.ENABLE_SHELL_TRANSITIONS) return;
|
if (Transitions.ENABLE_SHELL_TRANSITIONS) return;
|
||||||
|
updateRecentsForVisibleFullscreenTask(taskInfo);
|
||||||
|
|
||||||
final Point positionInParent = state.mTaskInfo.positionInParent;
|
final Point positionInParent = state.mTaskInfo.positionInParent;
|
||||||
if (!oldPositionInParent.equals(state.mTaskInfo.positionInParent)) {
|
if (!oldPositionInParent.equals(state.mTaskInfo.positionInParent)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user