DescriptionExpose 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}
Committed: https://chromium.googlesource.com/chromium/src/+/b548f9cf279046ffad8e2eae5dc1f63ebaf1cd43
Patch Set 1 #
Total comments: 2
Patch Set 2 : Cache language but listen for intent when it changes #
Total comments: 2
Patch Set 3 : Init after setting up listener #
Messages
Total messages: 22 (14 generated)
|