Temporarily disable back button deferral of start animation.

Bug: 73356768
Change-Id: I156b0e6db0ac51a325a3a76118ce8efd01e50419
This commit is contained in:
Winson Chung
2018-02-14 13:13:41 -08:00
parent db3a95c956
commit 4c021ee1bc

View File

@@ -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();