diff --git a/quickstep/src/com/android/quickstep/DesktopSystemShortcut.kt b/quickstep/src/com/android/quickstep/DesktopSystemShortcut.kt index 914855bf1b..4280baf21d 100644 --- a/quickstep/src/com/android/quickstep/DesktopSystemShortcut.kt +++ b/quickstep/src/com/android/quickstep/DesktopSystemShortcut.kt @@ -82,6 +82,7 @@ class DesktopSystemShortcut( taskKey.numActivities, taskKey.isTopActivityNoDisplay, taskKey.isActivityStackTransparent, + taskKey.userId, ) -> null !taskContainer.task.isDockable -> null diff --git a/quickstep/src/com/android/quickstep/ExternalDisplaySystemShortcut.kt b/quickstep/src/com/android/quickstep/ExternalDisplaySystemShortcut.kt index f97cf9cd91..3b823f5e60 100644 --- a/quickstep/src/com/android/quickstep/ExternalDisplaySystemShortcut.kt +++ b/quickstep/src/com/android/quickstep/ExternalDisplaySystemShortcut.kt @@ -80,6 +80,7 @@ class ExternalDisplaySystemShortcut( taskKey.numActivities, taskKey.isTopActivityNoDisplay, taskKey.isActivityStackTransparent, + taskKey.userId, ) -> null else -> {