Merge "Fix getMiddleDisplayLanguage"

This commit is contained in:
satok 2011-04-26 01:54:12 -07:00 committed by Android (Google) Code Review
commit 663d4f5cc1

View file

@ -608,7 +608,7 @@ public class SubtypeSwitcher {
}
public static String getMiddleDisplayLanguage(Locale locale) {
return toTitleCase(locale.getDisplayLanguage(new Locale(locale.getLanguage())));
return toTitleCase((new Locale(locale.getLanguage()).getDisplayLanguage(locale)));
}
public static String getShortDisplayLanguage(Locale locale) {