Commit 5239ea62 authored by Donn Denman's avatar Donn Denman Committed by Commit Bot

[TTS] Hide the panel when Talkback is enabled.

When the panel is showing and Talkback is enabled the panel
should be hidden.

BUG=787553

Change-Id: Ic98b347f7cff6dc931b952e9846968fbecc67eed
Reviewed-on: https://chromium-review.googlesource.com/830607Reviewed-by: default avatarTheresa <twellington@chromium.org>
Commit-Queue: Donn Denman <donnd@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524514}
parent 6da27479
......@@ -834,6 +834,7 @@ public class ContextualSearchManager
*/
public void onAccessibilityModeChanged(boolean enabled) {
mIsAccessibilityModeEnabled = enabled;
if (enabled) hideContextualSearch(StateChangeReason.UNKNOWN);
}
/**
......
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