[Offline indicator v2] Optimize memory by inflating view when needed
With this CL, we inflate the view right before showing it and destroy it when it's hidden. Animations are also set to null when they end. Bug: 1005843 Change-Id: I2fd05939bd81eb7155a48744cfca33a1bc319e9a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2355005Reviewed-by:Theresa <twellington@chromium.org> Reviewed-by:
Matthew Jones <mdjones@chromium.org> Commit-Queue: Sinan Sahin <sinansahin@google.com> Cr-Commit-Position: refs/heads/master@{#801059}
Showing
This diff is collapsed.
Please register or sign in to comment