commit | d3a2b5832f6ca9da74cda814ec76aec679b3389a | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Wed Aug 26 14:42:08 2020 -0700 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Sep 16 23:28:48 2020 +0000 |
tree | 5d09be3d3d575ac5fd0e34011f87fd2bf9b7f273 | |
parent | 27ef1fc697faed77c7d2bdabf9432718680e1cae [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)