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

Commit 4d55281b authored by Julia Reynolds's avatar Julia Reynolds Committed by android-build-merger
Browse files

Merge "Announce upcoming tile state on click." into nyc-dev

am: 293c9676

* commit '293c9676':
  Announce upcoming tile state on click.

Change-Id: Ied45168428e0b1945ce6613ff0be40666c1f97dc
parents e9f42318 293c9676
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);
            }
        }
    }