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

Skip to content
Commit 152fc131 authored by Julia Tuttle's avatar Julia Tuttle
Browse files

Mark actions unimportant for accessibility when obscured by RemoteInputView.

To prevent animation jank, we don't actually hide or remove the action
buttons (like "reply") on a notification while they're obscured by the
remote input view (like while the user is typing their reply).

Visually, this is fine, but Voice Access still sees those buttons as
important. If the user speaks the action (like "reply"), Voice Access
will activate the buttons, but nothing visible will happen. If the user
has numbers shown, Voice Access will number the buttons, but the numbers
will appear to point at the remote input view instead.

To avoid this, we mark the NotificationActionListLayout as unimportant
for accessibility while the remote input view is visible, and return it
to "auto" important when the remote input view isn't visible.

Bug: 230297786
Test: atest NotificationContentViewTest
Change-Id: I50fdda3adabd0039ed84b3781c0d275fc176ef89
parent f12d6c28
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment