diff --git a/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/QuickSwitchTouchController.java b/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/QuickSwitchTouchController.java index 93e4fbdc00..31e4e33d89 100644 --- a/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/QuickSwitchTouchController.java +++ b/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/QuickSwitchTouchController.java @@ -151,7 +151,7 @@ public class QuickSwitchTouchController extends AbstractStateChangeTouchControll int sysuiFlags = 0; TaskView tv = mOverviewPanel.getTaskViewAt(0); if (tv != null) { - sysuiFlags = tv.getFirstThumbnailViewDeprecated().getSysUiStatusNavFlags(); + sysuiFlags = tv.getTaskContainers().getFirst().getSysUiStatusNavFlags(); } mLauncher.getSystemUiController().updateUiState(UI_STATE_FULLSCREEN_TASK, sysuiFlags); } else { diff --git a/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java b/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java index b6d83d3bbb..867533c4d4 100644 --- a/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java +++ b/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java @@ -926,7 +926,7 @@ public abstract class AbsSwipeUpHandler 1 - UPDATE_SYSUI_FLAGS_THRESHOLD; boolean quickswitchThresholdPassed = centermostTask != runningTask; @@ -2456,9 +2456,9 @@ public abstract class AbsSwipeUpHandler thumbnailData, boolean refreshNow) { + if (enableRefactorTaskThumbnail()) { + // TODO(b/342560598): Handle updateThumbnail for new TTV. + return null; + } TaskView updatedTaskView = null; for (Map.Entry entry : thumbnailData.entrySet()) { Integer id = entry.getKey(); @@ -2915,7 +2921,7 @@ public abstract class RecentsView{ - thumbnail.refreshSplashView(); + // TODO(b/334826842): Handle splash icon for new TTV. + if (!enableRefactorTaskThumbnail()) { + taskContainer.getThumbnailViewDeprecated().refreshSplashView(); + } mSplitHiddenTaskView.updateSnapshotRadius(); }); } else if (isInitiatingSplitFromTaskView) { @@ -5260,7 +5268,7 @@ public abstract class RecentsView { @@ -5986,6 +5994,12 @@ public abstract class RecentsView