ChromeVox locale switching: perform exact comparison on locales.
Before this change, ChromeVox compared locales using the language component. It treated zh-hant and zh-hans as the same, even though they are completely different. This change fixes this behavior; we now perform a strict comparison and alert the user if the locale has changed in any way. Bug: 1061222 Relnotes: N/A Change-Id: I1b1fe89c43d9fa9cec0a7b35a21798e937263754 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2101717Reviewed-by:David Tseng <dtseng@chromium.org> Commit-Queue: Akihiro Ota <akihiroota@chromium.org> Cr-Commit-Position: refs/heads/master@{#756426}
Showing
Please register or sign in to comment