Commit 239eed83 authored by Sara Kato's avatar Sara Kato Committed by Commit Bot

Fix S2S when focus highlight is enabled.

Ensure that filter type is correctly set when S2S is enabled.

Test: Manual (follow steps to reproduce on bug)
Bug: b/109637169
Change-Id: I34a6358a8aa27e5571e70f1b71866c46dd79fcd3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1631809Reviewed-by: default avatarEliot Courtney <edcourtney@chromium.org>
Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
Commit-Queue: Sara Kato <sarakato@chromium.org>
Cr-Commit-Position: refs/heads/master@{#664133}
parent c398dbb3
......@@ -588,11 +588,14 @@ void ArcAccessibilityHelperBridge::OnGetTextLocationDataResult(
void ArcAccessibilityHelperBridge::OnAccessibilityStatusChanged(
const chromeos::AccessibilityStatusEventDetails& event_details) {
// TODO(yawano): Add case for select to speak and switch access.
if (event_details.notification_type !=
chromeos::ACCESSIBILITY_TOGGLE_FOCUS_HIGHLIGHT &&
event_details.notification_type !=
chromeos::ACCESSIBILITY_TOGGLE_SELECT_TO_SPEAK &&
event_details.notification_type !=
chromeos::ACCESSIBILITY_TOGGLE_SPOKEN_FEEDBACK &&
event_details.notification_type !=
chromeos::ACCESSIBILITY_TOGGLE_FOCUS_HIGHLIGHT) {
chromeos::ACCESSIBILITY_TOGGLE_SWITCH_ACCESS) {
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment