commit | e0fd5a8b13d27834312b17f49dd8e74acf67644d | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Wed Aug 26 14:42:08 2020 -0700 |
committer | Anis Assi <anisassi@google.com> | Fri Sep 25 09:14:53 2020 -0700 |
tree | 66ce925e648cd28b7c8a64eabd4cfd5b783a9399 | |
parent | 7812252d2e246449588fa84f53f4ac0f6e2ee3d1 [diff] |
Accept repeated locale as an input of LocaleList construction. Repeated locale has not been accepted and IllegalArgumentException is thrown. Instead of throwing exception, dropping repeated locale instead. Bug: 152410253 Test: atest LocaleListTest Change-Id: I80f243678ac3024eaeb0349f770cff897df7f332 (cherry picked from commit 7ee68787cca0837f59658d5174e1d586dfe80ad4)