Fix AcceptLanguageTest for N+
The test fails when non-English locale is used, or even when there is a secondary language set in the language preferences. Nougat introduced local lists, so checking the default locale isn't enough to ensure that there isn't any secondary locale, and setting the default locale does not remove the secondary locale. This CL provides a separate code path for multiple locale check in N+. Bug: 901230 Change-Id: I181378e79888a36d47db7c1c3ca360573fdec235 Reviewed-on: https://chromium-review.googlesource.com/c/1318670Reviewed-by:Nate Fischer <ntfschr@chromium.org> Commit-Queue: Changwan Ryu <changwan@chromium.org> Cr-Commit-Position: refs/heads/master@{#605536}
Showing
Please register or sign in to comment