CancelAwareAnimatorListener 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 Review-Url: https://codereview.chromium.org/2104053005 Cr-Commit-Position: refs/heads/master@{#402672}
Showing
Please register or sign in to comment