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

Commit 6c7ddc9b authored by Sergey Pinkevich's avatar Sergey Pinkevich
Browse files

Fix blinking for the active tile

Call of `buildAnimationController` within `View#onApplyWindowInsets` if endTarget is not null.

Bug: 312439564
Flag: ACONFIG com.android.launcher3.enable_grid_only_overview TEAMFOOD
Test: manual - took a screen recording:
Before - https://drive.google.com/file/d/1P2GsTi0xCZFjAsTQKonMMADHGkKuxMe0/view?usp=sharing
After - https://drive.google.com/file/d/1xkbFa-2Xp1OwmPrKLcqE2cYshVRXY2YV/view?usp=sharing

Change-Id: I6eb2a48bb548e20c1d36a058921ff8e1a0983cad
parent 8f2dc923
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -855,7 +855,9 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
        if (windowInsets.isVisible(WindowInsets.Type.ime())) {
            return result;
        }
        if (mGestureState.getEndTarget() == null) {
            buildAnimationController();
        }
        // Reapply the current shift to ensure it takes new insets into account, e.g. when long
        // pressing to stash taskbar without moving the finger.
        onCurrentShiftUpdated();