Settings psuedolocalization fixes.

We don't need -c zz_ZZ any more, and LocalePicker now checks
the global developer options settings itself.

Also remove some dead code now zz_ZY and zz_ZZ are gone.

Bug: 17190407
Change-Id: I27f9f5bc8b27457004e7e4996ec76b76a17523eb
This commit is contained in:
Elliott Hughes
2014-08-22 12:06:23 -07:00
parent 735219be8f
commit c550f0bff4
3 changed files with 1 additions and 21 deletions

View File

@@ -47,15 +47,6 @@ public class LocalePicker extends com.android.internal.app.LocalePicker
setLocaleSelectionListener(this);
}
@Override
protected boolean isInDeveloperMode() {
final boolean showDev = getActivity().getSharedPreferences(DevelopmentSettings.PREF_FILE,
Context.MODE_PRIVATE).getBoolean(
DevelopmentSettings.PREF_SHOW,
android.os.Build.TYPE.equals("eng"));
return showDev;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);