Bug 917480 - Pre: commenting. r=nalexander

This commit is contained in:
Richard Newman 2014-05-13 20:50:26 -07:00
parent 199335d57b
commit 62c0e56a01

View File

@ -218,6 +218,9 @@ public class BrowserLocaleManager implements LocaleManager {
public void updateConfiguration(Context context, Locale locale) {
Resources res = context.getResources();
Configuration config = res.getConfiguration();
// We should use setLocale, but it's unexpectedly missing
// on real devices.
config.locale = locale;
res.updateConfiguration(config, res.getDisplayMetrics());
}