Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuriy Budiyev committed Nov 15, 2017
1 parent d0aec7b commit 3ab3ca4
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -623,18 +623,12 @@ public void onAnimationCancel(Animator animation) {

@Override
public void onAnimationRepeat(Animator animation) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
mIndeterminateStartAnimator.pause();
}
boolean growMode = !mIndeterminateGrowMode;
mIndeterminateGrowMode = growMode;
if (growMode) {
mIndeterminateOffsetAngle =
(mIndeterminateOffsetAngle + mIndeterminateMinimumAngle * 2f) % 360f;
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
mIndeterminateStartAnimator.resume();
}
}
}
}

0 comments on commit 3ab3ca4

Please sign in to comment.