[Offline indicator v2] Clean up the animations on destroy
Currently, if the status indicator is destroyed while there are running animations, we still get an #onAnimationEnd call causing NPEs. To prevent this, this CL cancels all animations in #destroy(). Also, it adds some null checks in TabbedRootUiCoordinator where we can potentially try to access null mActivity and ActivityTabProvider. Bug: 1087010 Change-Id: I60a199cdebad160b2ef3f63719552cc54cce87a3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2219348Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Sinan Sahin <sinansahin@google.com> Cr-Commit-Position: refs/heads/master@{#772934}
Showing
This diff is collapsed.
Please register or sign in to comment