Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuriy Budiyev committed Nov 30, 2017
1 parent 28d28b5 commit 5067124
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,11 @@ public void run() {
if (growMode) {
mIndeterminateOffsetAngle = (mIndeterminateOffsetAngle + mIndeterminateMinimumAngle * 2f) % 360f;
}
mIndeterminateSweepAnimator.start();
ValueAnimator animator = mIndeterminateSweepAnimator;
if (animator.isRunning()) {
animator.cancel();
}
animator.start();
}
}
}

0 comments on commit 5067124

Please sign in to comment.