mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Disabling setting locale code. See bug 635342. This is probably not needed anymore. It costs about 145 ms at startup
This commit is contained in:
parent
1c640d32e3
commit
39f8c1540b
@ -475,10 +475,14 @@ abstract public class GeckoApp
|
||||
|
||||
Log.w(LOGTAG, "zerdatime " + new Date().getTime() + " - pre checkLaunchState");
|
||||
|
||||
/*
|
||||
XXXX see bug 635342
|
||||
We want to disable this code if possible. It is about 145ms in runtime
|
||||
SharedPreferences settings = getPreferences(Activity.MODE_PRIVATE);
|
||||
String localeCode = settings.getString(getPackageName() + ".locale", "");
|
||||
if (localeCode != null && localeCode.length() > 0)
|
||||
GeckoAppShell.setSelectedLocale(localeCode);
|
||||
*/
|
||||
|
||||
if (!checkLaunchState(LaunchState.Launched)) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user