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

Commit 1f3788f9 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

am: fb9ed6f7

Change-Id: I800d32207be7470e6fe30f01b0a65aa3131827c6
parents 1fb10d83 fb9ed6f7
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));