+++ b/android/frameworks/base/core/java/com/android/internal/app/LocalePicker.java
@@ -95,19 +95,22 @@ public class LocalePicker extends ListFragment {
public static List<LocaleInfo> getAllAssetLocales(Context context, boolean isInDeveloperMode) {
final Resources resources = context.getResources();
- final String[] locales = Resources.getSystem().getAssets().getLocales();
- List<String> localeList = new ArrayList<String>(locales.length);
+ //final String[] locales = Resources.getSystem().getAssets().getLocales();
+ //final String[] locales = {"ar-XB","zh-CN","zh-TW","de-DE","en-US","es-US","fr-FR","ja-JP","ko-KR","it-IT","pt-PT","ru-RU","th-TH","tr-TR"};
+ //final String[] locales = {"zh-CN","zh-TW","en-US","de-DE","es-US","fr-FR","ja-JP","ko-KR","it-IT","pt-PT","ru-RU","th-TH","tr-TR","he","cs-CZ","ar-SA
+ final String[] locales = {"zh-CN","zh-TW","en-US","de-DE","es-US","fr-FR","ja-JP","ko-KR","it-IT","pt-PT","ru-RU","th-TH","tr-TR","he","cs-CZ","ar-SA"}
+ List<String> localeList = new ArrayList<String>(locales.length);
Collections.addAll(localeList, locales);
// Don't show the pseudolocales unless we're in developer mode. http://b/17190407.
- if (!isInDeveloperMode) {
+ /*if (!isInDeveloperMode) {
localeList.remove("ar-XB");
localeList.remove("en-XA");
}
//ActionsCode(phchen, BUGFIX: BUG00233584 ),
localeList.remove("si_LK");
- localeList.remove("si-LK");
+ localeList.remove("si-LK");*/
Collections.sort(localeList);
final String[] specialLocaleCodes = resources.getStringArray(R.array.special_locale_codes);