commit | 605010b8d2d64f770a3ddb24ce56caea4a0e2ea5 | [log] [tgz] |
---|---|---|
author | Ioana Alexandru <aioana@google.com> | Wed Aug 14 10:09:47 2024 +0000 |
committer | Ioana Alexandru <aioana@google.com> | Wed Aug 28 13:08:47 2024 +0200 |
tree | 5e4df57e7913039e124782efcfa2f882c75c61e4 | |
parent | 90c553fe6b8336b97f1b5b04e9095aceabc7637e [diff] |
setAccessibilityHeading for silent notif section This is an addition suggested by the a11y team. Change-Id: I17a180f3c701a36197b00621ccbe1369ca96c56a Fix: 320295324 Test: tested manually that "Silent" is considered a heading by TalkBack Flag: EXEMPT trivial change
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/SectionHeaderView.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/SectionHeaderView.java index 580431a..969ff1b 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/SectionHeaderView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/SectionHeaderView.java
@@ -68,6 +68,7 @@ if (mLabelTextId != null) { mLabelView.setText(mLabelTextId); } + mLabelView.setAccessibilityHeading(true); } @Override