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
This commit is contained in:
Steven Ng
2025-05-08 14:57:50 +00:00
parent 2a6553ff9e
commit 26bc9f873e
@@ -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<*, *>