Don't intercept above shelf progress if still animating

When you swipe up to overview from home, we should allow touches on
recents even if the overshoot animation isn't finished. If the
touch is below the all apps progress, we continue to intercept to
allow for double swipe up.

Bug: 80093992
Change-Id: Ifdca61e7cfc1f7a713c067596cc0c1bd3154b44e
This commit is contained in:
Tony
2018-06-07 20:48:04 -07:00
parent 34838cf551
commit 89126653cd
2 changed files with 14 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ public abstract class AbstractStateChangeTouchController
private boolean mCanBlockFling;
private FlingBlockCheck mFlingBlockCheck = new FlingBlockCheck();
private AnimatorSet mAtomicAnim;
protected AnimatorSet mAtomicAnim;
// True if we want to resume playing atomic components when mAtomicAnim completes.
private boolean mScheduleResumeAtomicComponent;