From 9eee6df676a90a7c3a75c0e0d0cd1ddef382ba59 Mon Sep 17 00:00:00 2001 From: Fengjiang Li Date: Mon, 25 Mar 2024 16:29:39 -0700 Subject: [PATCH] Don't toggle scrollbar during predicitve back swipe to avoid flicker Fix: 329437430 Test: manual - attach video to bug Flag: aconfig com.android.launcher3.enable_predictive_back_gesture TEAMFOOD Change-Id: I8c959fbb02948011be59a17752a140b1a07ca6b9 --- .../allapps/TaskbarAllAppsSlideInView.java | 6 ------ .../allapps/AllAppsTransitionController.java | 3 --- .../launcher3/widget/picker/WidgetsFullSheet.java | 15 --------------- 3 files changed, 24 deletions(-) diff --git a/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java b/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java index e0e78f9619..3b04602811 100644 --- a/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java +++ b/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java @@ -35,7 +35,6 @@ import androidx.annotation.Nullable; import com.android.launcher3.DeviceProfile; import com.android.launcher3.Insettable; import com.android.launcher3.R; -import com.android.launcher3.allapps.AllAppsRecyclerView; import com.android.launcher3.anim.AnimatorListeners; import com.android.launcher3.anim.PendingAnimation; import com.android.launcher3.config.FeatureFlags; @@ -212,11 +211,6 @@ public class TaskbarAllAppsSlideInView extends AbstractSlideInView 0 ? View.INVISIBLE : View.VISIBLE); - } - } - @Override public void onBackInvoked() { if (mIsInSearchMode) {