Merge "Add setMin for all slider in volume panel." into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
67332c7397
@@ -765,9 +765,9 @@ public class VolumeDialogImpl implements VolumeDialog {
|
|||||||
if (max != row.slider.getMax()) {
|
if (max != row.slider.getMax()) {
|
||||||
row.slider.setMax(max);
|
row.slider.setMax(max);
|
||||||
}
|
}
|
||||||
// update A11y slider min
|
// update slider min
|
||||||
final int min = ss.levelMin * 100;
|
final int min = ss.levelMin * 100;
|
||||||
if (isA11yStream && min != row.slider.getMin()) {
|
if (min != row.slider.getMin()) {
|
||||||
row.slider.setMin(min);
|
row.slider.setMin(min);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user