Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af20dc76 authored by Fengjiang Li's avatar Fengjiang Li
Browse files

[Predictive Back] Swipe back within workspace all apps should only scale down...

[Predictive Back] Swipe back within workspace all apps should only scale down content view, rather than whole all apps sheet

Fix: 335467443
Test: manual - took a video
Flag: aconfig com.android.launcher3.enable_predictive_back_gesture TRUNKFOOD
Change-Id: I97f2bfa47dbb7d4866c5d2864ee9cd059a94ca5c
parent 9ebefa5e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -294,7 +294,9 @@ public class AllAppsTransitionController
    private void onScaleProgressChanged() {
        final float scaleProgress = mAllAppScale.value;
        SCALE_PROPERTY.set(mLauncher.getAppsView(), scaleProgress);
        if (!mLauncher.getAppsView().isSearching() || !mLauncher.getDeviceProfile().isTablet) {
            mLauncher.getScrimView().setScrimHeaderScale(scaleProgress);
        }

        AllAppsRecyclerView rv = mLauncher.getAppsView().getActiveRecyclerView();