mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Temporarily disable back button deferral of start animation.
Bug: 73356768 Change-Id: I156b0e6db0ac51a325a3a76118ce8efd01e50419
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user