[Offline indicator v2] Fix cc layer invalidation issue
When we're hiding the status indicator, we make the Java view GONE and start animating the cc layer. However, at this point, the cc layer can have an old texture (or a texture that makes no sense). With this CL, we invalidate the cc texture when the Java animation ends and request a render from the LayoutUpdateHost. Please note that this CL doesn't completely fix the issue. However, it makes it much less common. Bug: 1068346 Change-Id: I8e889fec82d5f33c9f5ba30695715a6d6fa67171 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144629 Commit-Queue: Sinan Sahin <sinansahin@google.com> Reviewed-by:Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#762014}
Showing
Please register or sign in to comment