Expose the language to Android accessibility services using LocaleSpans
TalkBack and other accessibility services on Android now pay attention to LocaleSpans to determine what language to use when speaking text. Wrap text in AccessibilityNodeInfo in a LocaleSpan indicating the correct language, but for efficiency, only do this when it's different than the system language. BUG=725134 Review-Url: https://codereview.chromium.org/2902533002 Cr-Commit-Position: refs/heads/master@{#473989}
Showing
Please register or sign in to comment