Prevent progress bar from freezing
In cases where the indeterminate animation was running and stopped, if progress jumped to 100%, the progress bar would remain on-screen. In most cases, if the progress bar reaches 100%, the progress bar is hidden immediately. If the animation is running, the user should be able to see progress reach 100% before it disappears. The discrepancy was in this logic. This change ensures that the progress bar restarts animation on update and blocks finish until the animation is complete. BUG=780856 Change-Id: Ife33e5d69824cb48b03a38312f817a31963b848a Reviewed-on: https://chromium-review.googlesource.com/766848Reviewed-by:Ted Choc <tedchoc@chromium.org> Commit-Queue: Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#516052}
Showing
Please register or sign in to comment