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:
@@ -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<*, *>
|
||||
|
||||
Reference in New Issue
Block a user