From 2c09d2f972300b7ab4eb4491c6e61732e207c37b Mon Sep 17 00:00:00 2001 From: Vadim Tryshev Date: Fri, 30 Mar 2018 12:34:26 -0700 Subject: [PATCH] Fixing Transition Delay - Hot Launch From Recents on Pixel 1 Generating fake to-recents event upon pressing square button with no active task. Bug: 72967764 Test: Transition Delay - Hot Launch From Recents on Pixel 1 Change-Id: I36fdfe9d356c7678deee37b706f1abecfbfdc812 --- quickstep/src/com/android/quickstep/OverviewCommandHelper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quickstep/src/com/android/quickstep/OverviewCommandHelper.java b/quickstep/src/com/android/quickstep/OverviewCommandHelper.java index 311411f4cf..958feb7dbe 100644 --- a/quickstep/src/com/android/quickstep/OverviewCommandHelper.java +++ b/quickstep/src/com/android/quickstep/OverviewCommandHelper.java @@ -50,6 +50,7 @@ import com.android.launcher3.states.InternalStateHandler; import com.android.launcher3.util.TraceHelper; import com.android.quickstep.ActivityControlHelper.FallbackActivityControllerHelper; import com.android.quickstep.ActivityControlHelper.LauncherActivityControllerHelper; +import com.android.quickstep.util.SysuiEventLogger; import com.android.quickstep.views.RecentsView; import com.android.quickstep.views.TaskView; import com.android.systemui.shared.recents.view.AppTransitionAnimationSpecCompat; @@ -271,6 +272,7 @@ public class OverviewCommandHelper extends InternalStateHandler { return; } if (helper.switchToRecentsIfVisible()) { + SysuiEventLogger.writeDummyRecentsTransition(0); return; }