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

Commit 350c9b8c authored by Michael Bestas's avatar Michael Bestas
Browse files

SystemUI: Add missing accessibility message for volume panel QS tile

Change-Id: Ib54b12b99bd8d9a2c8b195a05b09d3d13e8a2325
parent 4e83c4eb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -206,6 +206,9 @@
    <!-- Content description of the visualizer tile in quick settings (not shown on the screen). [CHAR LIMIT=NONE] -->
    <string name="accessibility_quick_settings_visualizer">Visualizer.</string>

    <!-- Content description of the volume panel tile in quick settings (not shown on the screen). [CHAR LIMIT=NONE] -->
    <string name="accessibility_quick_settings_volume_panel">Volume panel.</string>

    <string name="accessibility_dpad_left">Cursor left</string>
    <string name="accessibility_dpad_right">Cursor right</string>

+2 −0
Original line number Diff line number Diff line
@@ -47,6 +47,8 @@ public class VolumeTile extends QSTile<QSTile.BooleanState> {
    protected void handleUpdateState(BooleanState state, Object arg) {
        state.visible = true;
        state.label = mContext.getString(R.string.quick_settings_volume_panel_label);
        state.contentDescription = mContext.getString(
                R.string.accessibility_quick_settings_volume_panel);
        state.icon = ResourceIcon.get(R.drawable.ic_qs_volume_panel); // TODO needs own icon
    }