Update alt+tab behaviour for projected mode

- When in projected mode and on primary device, only show apps that are
  on the primary device.
- When in projected mode and on CD, don't show apps that are on the
  primary device.

Test: m
Flag: com.android.launcher3.enable_alt_tab_kqs_flatenning
Fix: 420858769
Change-Id: Id5153f4f5ca3ea878283774d450764838bcd7228
This commit is contained in:
Ajinkya Chalke committed 2025-06-02 08:31:47 +00:00
1 parent 3b04cf3155
commit ac8433b8e6
3 files changed
+40 -12

No files matched your search

@@ -1393,7 +1393,8 @@ public class TaskbarManagerImpl implements DisplayDecorationListener {
TaskbarActivityContext newTaskbar = new TaskbarActivityContext(displayId,
getWindowContext(displayId), navigationBarPanelContext, dp,
getNavButtonController(displayId), mUnfoldProgressProvider,
!isExternalDisplay(displayId), SystemUiProxy.INSTANCE.get(mBaseContext));
!isExternalDisplay(displayId), getPrimaryDisplayId(),
SystemUiProxy.INSTANCE.get(mBaseContext));
addTaskbarToMap(displayId, newTaskbar);
return newTaskbar;