Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Android] Stop speaking current announcement before announcing someth…
…ing else. 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.
- Loading branch information