mirror of
https://gitee.com/shuto-github/phonegap-mobile-accessibility.git
synced 2026-02-08 00:05:13 +08:00
TalkBack announces successive AccessibilityEvent.TYPE_ANNOUNCEMENT events by adding rather than flushing the queue. With Android’s migration away from using ChromeVox for WebViews, this became more noticeable. Adding AccessibilityManager.interrupt() before the announcement stops any speech that may be in progress, before making an announcement.