commit | 80b574199c5d06132acbcf640ec81f45f0d76ce3 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Thu Jul 03 13:26:07 2014 +0100 |
committer | Narayan Kamath <narayan@google.com> | Thu Jul 03 13:31:42 2014 +0100 |
tree | 452c319f6227fcd456deadbd1cb75acac1b096f9 | |
parent | 104da1e495cbed81e7ebe66b80344bf916b02391 [diff] |
Fix LocalePicker locale filtering. This was broken by commit b27c137087ee92674 which removed a badly phrased check. Prior to that commit, there was a check that excluded locales whose toString() length was not 5. This change reinstates that check in a less roundabout way, by excluding BCP-47 tags that don't have a country subtag. bug: 16038949 Change-Id: Ic24b1df87b2e2ce47d9ae04c7759088721f27b4f