From 26bc9f873e51421ccfd044f403d2fa9fd714e703 Mon Sep 17 00:00:00 2001 From: Steven Ng Date: Thu, 8 May 2025 14:57:50 +0000 Subject: [PATCH] Don't use large tile in the overview after enabling overview in connected display Test: tested overview in a connected display with a full screen app. Verified the full screen app is shown in a small tile. Flag: com.android.launcher3.enable_overview_on_connected_displays Bug: 415030147 Change-Id: I3e9313a17e9a323ecada89ac6fac29ea126cc613 --- quickstep/src/com/android/quickstep/views/TaskView.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickstep/src/com/android/quickstep/views/TaskView.kt b/quickstep/src/com/android/quickstep/views/TaskView.kt index 21905dbda0..bd7c185c31 100644 --- a/quickstep/src/com/android/quickstep/views/TaskView.kt +++ b/quickstep/src/com/android/quickstep/views/TaskView.kt @@ -81,6 +81,7 @@ import com.android.quickstep.RemoteAnimationTargets import com.android.quickstep.RemoteTargetGluer.RemoteTargetHandle import com.android.quickstep.TaskOverlayFactory import com.android.quickstep.TaskViewUtils +import com.android.quickstep.fallback.window.RecentsWindowFlags.enableOverviewOnConnectedDisplays import com.android.quickstep.orientation.RecentsPagedOrientationHandler import com.android.quickstep.recents.di.RecentsDependencies import com.android.quickstep.recents.di.get @@ -171,7 +172,7 @@ constructor( get() = this == recentsView?.focusedTaskView || (enableLargeDesktopWindowingTile() && type == TaskViewType.DESKTOP) || - isExternalDisplay + (isExternalDisplay && !enableOverviewOnConnectedDisplays()) val recentsView: RecentsView<*, *>? get() = parent as? RecentsView<*, *>