DescriptionCancelAwareAnimatorListener and Refactor Custom Tab Toolbar Animation
This CL does two things.
1. Introduce CancelAwareAnimatorListener to Chrome. For vanilla
AnimationListener in Android, onAnimationCancel() and onAnimationEnd()
will both be called if Animator is canclled. This is a confusing
behavior and it caused problems in various places.
2. Change the way security icon animation works in custom tab, making
it able to refresh its theme when the color of the toolbar changes.
Credit of this CL goes to tedchoc@.
BUG=604520
R=tedchoc@chromium.org
Committed: https://crrev.com/a38381ed776183a241a22de7344e92a5d09aa4bd
Cr-Commit-Position: refs/heads/master@{#402672}
Patch Set 1 #Messages
Total messages: 9 (4 generated)
|