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

Commit d8834773 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Announce upcoming tile state on click.

Change-Id: Ib804b5db13bbee07c6d45e8aa077cac60e28efb2
Fixes: 28964765
parent 0f852923
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -154,9 +154,9 @@ public class QSTileBaseView extends LinearLayout {
            event.setClassName(mAccessibilityClass);
            if (Switch.class.getName().equals(mAccessibilityClass)) {
                String label = getResources()
                        .getString(mTileState ? R.string.switch_bar_on : R.string.switch_bar_off);
                        .getString(!mTileState ? R.string.switch_bar_on : R.string.switch_bar_off);
                event.setContentDescription(label);
                event.setChecked(mTileState);
                event.setChecked(!mTileState);
            }
        }
    }