From 4b76e9123f5fc6d4804d9633c3004a9305f72386 Mon Sep 17 00:00:00 2001 From: Vinit Nayak Date: Fri, 3 Feb 2023 14:16:09 -0800 Subject: [PATCH] Set StateManager to BackgroundAppState if end gesture is NEW_TASK * QUICK_SWITCH_FROM_HOME was incorrectly used as that LauncherState is only meant for quickswitching for the most recent task from workspace Bug: 265734073 Test: Tested quickswitch with fullscreen and splitscreen tasks Change-Id: Ia81152927f57203cf6adb90254675bcf82a2e836 --- .../src/com/android/quickstep/LauncherActivityInterface.java | 1 - 1 file changed, 1 deletion(-) diff --git a/quickstep/src/com/android/quickstep/LauncherActivityInterface.java b/quickstep/src/com/android/quickstep/LauncherActivityInterface.java index 89e8f51930..7f2886c75f 100644 --- a/quickstep/src/com/android/quickstep/LauncherActivityInterface.java +++ b/quickstep/src/com/android/quickstep/LauncherActivityInterface.java @@ -346,7 +346,6 @@ public final class LauncherActivityInterface extends case RECENTS: return OVERVIEW; case NEW_TASK: - return QUICK_SWITCH_FROM_HOME; case LAST_TASK: return BACKGROUND_APP; case HOME: