Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb9ed6f7 authored by jiabin's avatar jiabin Committed by android-build-merger
Browse files

Merge "Add setMin for A11y stream slider bar." into pi-dev

am: b4cef2a5

Change-Id: I3ba6d43fa21a4fdf8047b4bd5c41b7a2d2ac002d
parents e0f7fc0a b4cef2a5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -765,6 +765,11 @@ public class VolumeDialogImpl implements VolumeDialog {
        if (max != row.slider.getMax()) {
            row.slider.setMax(max);
        }
        // update A11y slider min
        final int min = ss.levelMin * 100;
        if (isA11yStream && min != row.slider.getMin()) {
            row.slider.setMin(min);
        }

        // update header text
        Util.setText(row.header, getStreamLabelH(ss));