Merge "Fix cancel animation invoke callback early"
This commit is contained in:
committed by
Android (Google) Code Review
commit
f1b0ee9abd
@@ -370,13 +370,7 @@ class CrossActivityAnimation {
|
||||
|
||||
@Override
|
||||
public void onBackCancelled() {
|
||||
// End the fade in animation.
|
||||
mProgressAnimator.onBackCancelled(CrossActivityAnimation.this::finishAnimation);
|
||||
mEnteringProgressSpring.cancel();
|
||||
mLeavingProgressSpring.cancel();
|
||||
// TODO (b259608500): Let BackProgressAnimator could play cancel animation.
|
||||
mProgressAnimator.reset();
|
||||
finishAnimation();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user