OSDN Git Service

Always use the LocalePicker's preferred locale names.
authorElliott Hughes <enh@google.com>
Tue, 9 Sep 2014 21:33:11 +0000 (14:33 -0700)
committerElliott Hughes <enh@google.com>
Tue, 9 Sep 2014 21:33:11 +0000 (14:33 -0700)
commit81395c8f3d908e2f41a147b33ca02fd1963af7ea
tree99809961b22feba42a02f022ce0616df15489227
parent29a9c6844b04415505a9a3e9212f85432492702e
Always use the LocalePicker's preferred locale names.

Without this change we have the odd situation where LocalePicker goes out of
its way to avoid saying certain things but then -- as long as there's more than
one locale for a given language -- Settings would happily report the name we'd
been avoiding. (Either because it's too specific or because it's too sensitive.)

Also remove the unused bit-rotted duplicate of the blacklist; even if we needed
to access that list directly, we should use LocalePicker's copy.

Bug: 17150708
Change-Id: I9bfa0bf9a82bebd29ba45f4cbeaabb4e78570779
res/values/arrays.xml
src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java