From 853ac99e4726584b934b055e76c150bf92eff148 Mon Sep 17 00:00:00 2001 From: Tony Wickham Date: Tue, 14 Apr 2020 15:47:26 -0500 Subject: [PATCH] Don't show shelf bounce when there's no shelf in Overview Bug: 154513651 Change-Id: Ia31fd46dc174fcb6362b11e5970f92f4acff66ac --- .../quickstep/util/QuickstepOnboardingPrefs.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/quickstep/src/com/android/quickstep/util/QuickstepOnboardingPrefs.java b/quickstep/src/com/android/quickstep/util/QuickstepOnboardingPrefs.java index ab2484d733..a678cb5302 100644 --- a/quickstep/src/com/android/quickstep/util/QuickstepOnboardingPrefs.java +++ b/quickstep/src/com/android/quickstep/util/QuickstepOnboardingPrefs.java @@ -18,6 +18,8 @@ package com.android.quickstep.util; import static com.android.launcher3.LauncherState.ALL_APPS; import static com.android.launcher3.LauncherState.NORMAL; import static com.android.launcher3.LauncherState.OVERVIEW; +import static com.android.launcher3.config.FeatureFlags.ENABLE_OVERVIEW_ACTIONS; +import static com.android.quickstep.SysUINavigationMode.removeShelfFromOverview; import android.content.SharedPreferences; @@ -58,7 +60,14 @@ public class QuickstepOnboardingPrefs extends OnboardingPrefs