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

Commit 33d326d1 authored by Jason Monk's avatar Jason Monk Committed by Android (Google) Code Review
Browse files

Merge "QS: Fix accessibility announce for dual tiles" into lmp-dev

parents df22548d ec81d38d
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();