mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 917480 - Pre: commenting. r=nalexander
This commit is contained in:
parent
89b7bae7d0
commit
ff0fbdecbb
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user