commit | 13b964f91d355cf3a49fe840fe23be2c18fe6ebf | [log] [tgz] |
---|---|---|
author | Brandon Dayauon <brdayauon@google.com> | Mon Oct 21 11:22:26 2024 -0700 |
committer | Brandon Dayauon <brdayauon@google.com> | Mon Oct 21 11:32:13 2024 -0700 |
tree | af77f3fdd71d048ffc37da0a4c3047710b4d179a | |
parent | cfd3326efd4463f6e396e6385b163847c034137a [diff] |
Instead of checking for locale, check language specifically. Should be checking for english language as seen here: https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:libcore/ojluni/src/main/java/java/util/Locale.java;l=1374?q=locale%20getLanguage&sq=repo:googleplex-android%2Fplatform%2Fsuperproject%2Fmain%20b:main This gives the language code which is what we should be checking against according to https://yaqs.corp.google.com/eng/q/4542431059247104. bug: 373670311 Test: Manually - tried with various other "ENGLISH" languages besides US. Including Bermuda/UK and non english languages Flag: NONE locale checking Change-Id: Ib2eff4c9a13b74ede8575ee8d5280bbf9b9b8729