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

Commit 4c021ee1 authored by Winson Chung's avatar Winson Chung
Browse files

Temporarily disable back button deferral of start animation.

Bug: 73356768
Change-Id: I156b0e6db0ac51a325a3a76118ce8efd01e50419
parent db3a95c9
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ public class OtherActivityTouchConsumer extends ContextWrapper implements TouchC

                // Start the window animation on down to give more time for launcher to draw if the
                // user didn't start the gesture over the back button
                if (mDownHitTarget != HIT_TARGET_BACK && !isUsingScreenShot()) {
                if (!isUsingScreenShot()) {
                    startTouchTrackingForWindowAnimation();
                }

@@ -166,10 +166,6 @@ public class OtherActivityTouchConsumer extends ContextWrapper implements TouchC

                        if (isUsingScreenShot()) {
                            startTouchTrackingForScreenshotAnimation();
                        } else if (mDownHitTarget == HIT_TARGET_BACK) {
                            // If the window animation was deferred on DOWN due to it starting over
                            // the back button, then start it now
                            startTouchTrackingForWindowAnimation();
                        }

                        notifyGestureStarted();