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

Commit 421b20c1 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Volume slider content description

Volume, ring and acessibility sliders now report their names
when talk back is on.

Examples:
26% acessibility seek control, use volume keys to adjust.
0% ring seek control, disabled.

Change-Id: I0a775a9b90254c9f338b9f4f38efbff10f626853
Fixes: 62354047
Test: Turn talk back on, tap on volume sliders
parent cbab3edc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -761,6 +761,7 @@ public class VolumeDialogImpl implements VolumeDialog, TunerService.Tunable {

        // update header text
        Util.setText(row.header, getStreamLabelH(ss));
        row.slider.setContentDescription(row.header.getText());
        mConfigurableTexts.add(row.header, ss.name);

        // update icon