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

Commit ec81d38d authored by Jason Monk's avatar Jason Monk
Browse files

QS: Fix accessibility announce for dual tiles

Bug: 17512411
Change-Id: I3515804fce2742e9553d65dab9693ccc0b9f39cf
parent 7bfa3574
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -298,11 +298,12 @@ public class QSTileView extends ViewGroup {
        if (mDual) {
            mDualLabel.setText(state.label);
            mDualLabel.setContentDescription(state.dualLabelContentDescription);
            mTopBackgroundView.setContentDescription(state.contentDescription);
        } else {
            mLabel.setText(state.label);
        }
            setContentDescription(state.contentDescription);
        }
    }

    public void onStateChanged(QSTile.State state) {
        mHandler.obtainMessage(H.STATE_CHANGED, state).sendToTarget();