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

Commit 8e7fba68 authored by András Kurucz's avatar András Kurucz
Browse files

Don't send unchecked a11y events from ExpandableNotificationRow

View#sendAccessibilityEventUnchecked(AccessibilityEvent event)
does not check whether accessibility is enabled or not, and
leaves this responsibility to the caller. Unfortunately this is the only
method that enables us to send a TYPE_WINDOW_CONTENT_CHANGED event with
defining its content change type.

This CL adds the required check for accessibility being enabled..

Bug: 380027122
Test: expand/collapse Notifications with TalkBack off
Flag: com.android.systemui.notification_row_accessibility_expanded

Change-Id: I82a43a3b60f2da493df3cff455d1329571943706
parent 5febd85c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment