arc-a11y: Migrate notification state change event distinguishment logic from Android
NOTIFICATION_STATE_CHANGED event is dispatched not only when the toast is displayed but also when the notification state is changed. In the first case, we can dispatch accessibility announcement, and in the second case, we shouldn't. This distinguishment was done in ARC Android side. This CL migrates the logic to Chrome side. See also http://ag/10917984. Bug: b/152374820 Test: unit_tests --gtest_filter="ArcAccessibilityHelperBridgeTest.*" Change-Id: Id59902e980ff9b24d6207a4ac001ba2162937b3d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132023 Commit-Queue: Hiroki Sato <hirokisato@chromium.org> Reviewed-by:David Tseng <dtseng@chromium.org> Reviewed-by:
Sara Kato <sarakato@chromium.org> Cr-Commit-Position: refs/heads/master@{#756935}
Showing
Please register or sign in to comment