desktop-exploded-view: temporarily disable the functionality...

... to launch an individual task window from desktop tile in Overview
when multi-desks is enabled, until the fix for b/413378320 is landed.

Note the changes in
http://ag/q/topic:%22activate-window-from-exploded-view%22 is the right
implementation, however it will only work for multi-desks with the fix
for b/413378320 is in place.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: Manual
Bug: 413378320
Change-Id: I72914d60fb0ec2e80af6faa7441a67e743720c38
This commit is contained in:
Xiaoqian Dai
2025-05-01 23:46:46 +00:00
parent bc6b9ea148
commit b9d3a5cc44
@@ -402,7 +402,10 @@ class DesktopTaskView @JvmOverloads constructor(context: Context, attrs: Attribu
} else {
taskContentView
}
if (enableDesktopExplodedView()) {
if (enableDesktopExplodedView() && !enableMultipleDesktops(context)) {
// Note, currently there are some issues with launching an individual app window
// with multi-desks enabled, see b/413378320. Will enable this functionality
// after b/413378320 is fixed.
snapshotView.setOnClickListener {
launchTaskWithDesktopController(animated = true, task.key.id)
}