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

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

[Predictive Back] Recover taskbar all apps scale to 1f with animation if user...

[Predictive Back] Recover taskbar all apps scale to 1f with animation if user swipe back within search [3/n]

Fix: 327490078
Flag: aconfig com.android.launcher3.enable_predictive_back_gesture TEAMFOOD
Test: manual
Change-Id: Iab1de455bf23d73b34f4a0d60f7e7a143bd028d1
parent 9280a68b
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -267,7 +267,11 @@ public class TaskbarAllAppsSlideInView extends AbstractSlideInView<TaskbarOverla

    @Override
    public void onBackInvoked() {
        if (!mAllAppsCallbacks.handleSearchBackInvoked()) {
        if (mAllAppsCallbacks.handleSearchBackInvoked()) {
            // We need to scale back taskbar all apps if we navigate back within search inside all
            // apps
            animateSlideInViewToNoScale();
        } else {
            super.onBackInvoked();
        }
    }