Merge "Fix for #12945: ProgressBar.setMax() will always redraw."
This commit is contained in:
@@ -666,8 +666,8 @@ public class ProgressBar extends View {
|
|||||||
|
|
||||||
if (mProgress > max) {
|
if (mProgress > max) {
|
||||||
mProgress = max;
|
mProgress = max;
|
||||||
refreshProgress(R.id.progress, mProgress, false);
|
|
||||||
}
|
}
|
||||||
|
refreshProgress(R.id.progress, mProgress, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user