Skip to content

Commit 7118bde

Browse files
Romain GuyAndroid Code Review
authored andcommitted
Merge "Fix for #12945: ProgressBar.setMax() will always redraw."
2 parents 93552de + 58e3822 commit 7118bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/widget/ProgressBar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,8 @@ public synchronized void setMax(int max) {
666666

667667
if (mProgress > max) {
668668
mProgress = max;
669-
refreshProgress(R.id.progress, mProgress, false);
670669
}
670+
refreshProgress(R.id.progress, mProgress, false);
671671
}
672672
}
673673

0 commit comments

Comments
 (0)