OSDN Git Service

Don't show the pseudolocales unless we're in developer mode.
authorElliott Hughes <enh@google.com>
Fri, 22 Aug 2014 18:45:33 +0000 (11:45 -0700)
committerElliott Hughes <enh@google.com>
Fri, 22 Aug 2014 18:57:15 +0000 (11:57 -0700)
commitdee5cde1ec3cca5235c397acdb217ddadaa7994f
tree20009ab27755b5ea33ed1df13fb50f0ecd6a7581
parent730e9bceb746e6c50b87cc5a695eb73fea27686e
Don't show the pseudolocales unless we're in developer mode.

The old zz_ZY and zz_ZZ pseudolocales are gone, replaced by ar_XB and en_XA.
The existing check for "developer mode" wasn't working, and now the
pseudolocales are there by default, we want to _remove_ them if we're not
in developer mode rather than add them if we are in developer mode.

Bug: 17190407
Change-Id: I6ee6eba53f5b816ef8e0d1768c94cd3484a196b5
core/java/com/android/internal/app/LocalePicker.java