diff --git a/quickstep/src/com/android/launcher3/desktop/DesktopAppLaunchTransitionManager.kt b/quickstep/src/com/android/launcher3/desktop/DesktopAppLaunchTransitionManager.kt index 645bef6b97..6e363057a2 100644 --- a/quickstep/src/com/android/launcher3/desktop/DesktopAppLaunchTransitionManager.kt +++ b/quickstep/src/com/android/launcher3/desktop/DesktopAppLaunchTransitionManager.kt @@ -45,7 +45,8 @@ class DesktopAppLaunchTransitionManager( } remoteWindowLimitUnminimizeTransition = RemoteTransition( - DesktopAppLaunchTransition(context, MAIN_EXECUTOR, AppLaunchType.UNMINIMIZE) + DesktopAppLaunchTransition(context, MAIN_EXECUTOR, AppLaunchType.UNMINIMIZE), + "DesktopWindowLimitUnminimize" ) systemUiProxy.registerRemoteTransition( remoteWindowLimitUnminimizeTransition, diff --git a/quickstep/src/com/android/launcher3/taskbar/KeyboardQuickSwitchViewController.java b/quickstep/src/com/android/launcher3/taskbar/KeyboardQuickSwitchViewController.java index 3114bc8276..cb811d6c70 100644 --- a/quickstep/src/com/android/launcher3/taskbar/KeyboardQuickSwitchViewController.java +++ b/quickstep/src/com/android/launcher3/taskbar/KeyboardQuickSwitchViewController.java @@ -15,6 +15,7 @@ */ package com.android.launcher3.taskbar; +import static com.android.launcher3.desktop.DesktopAppLaunchTransition.AppLaunchType.UNMINIMIZE; import static com.android.launcher3.util.Executors.MAIN_EXECUTOR; import static com.android.launcher3.util.Executors.UI_HELPER_EXECUTOR; @@ -285,8 +286,8 @@ public class KeyboardQuickSwitchViewController { ) { // This app is being unminimized - use our own transition runner. remoteTransition = new RemoteTransition( - new DesktopAppLaunchTransition( - context, MAIN_EXECUTOR, AppLaunchType.UNMINIMIZE)); + new DesktopAppLaunchTransition(context, MAIN_EXECUTOR, UNMINIMIZE), + "DesktopKeyboardQuickSwitchUnminimize"); } mControllers.taskbarActivityContext.handleGroupTaskLaunch( task, diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java index 0f639f97ff..e56134de7f 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java @@ -892,7 +892,8 @@ public class TaskbarActivityContext extends BaseTaskbarContext { ActivityOptions options = ActivityOptions.makeRemoteTransition( new RemoteTransition( new DesktopAppLaunchTransition( - /* context= */ this, getMainExecutor(), launchType))); + /* context= */ this, getMainExecutor(), launchType), + "TaskbarDesktopLaunch")); return new ActivityOptionsWrapper(options, new RunnableList()); } @@ -1445,8 +1446,8 @@ public class TaskbarActivityContext extends BaseTaskbarContext { private RemoteTransition createUnminimizeRemoteTransition() { return new RemoteTransition( - new DesktopAppLaunchTransition( - this, getMainExecutor(), AppLaunchType.UNMINIMIZE)); + new DesktopAppLaunchTransition(this, getMainExecutor(), AppLaunchType.UNMINIMIZE), + "TaskbarDesktopUnminimize"); } /** diff --git a/quickstep/src/com/android/launcher3/uioverrides/SystemApiWrapper.kt b/quickstep/src/com/android/launcher3/uioverrides/SystemApiWrapper.kt index 374db6ae6f..2e2d7cc3d3 100644 --- a/quickstep/src/com/android/launcher3/uioverrides/SystemApiWrapper.kt +++ b/quickstep/src/com/android/launcher3/uioverrides/SystemApiWrapper.kt @@ -63,7 +63,7 @@ open class SystemApiWrapper @Inject constructor(@ApplicationContext context: Con override fun createFadeOutAnimOptions(): ActivityOptions = ActivityOptions.makeBasic().apply { - remoteTransition = RemoteTransition(FadeOutRemoteTransition()) + remoteTransition = RemoteTransition(FadeOutRemoteTransition(), "FadeOut") } override fun queryAllUsers(): Map {