mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 655997 - Crash when changing orientation on Android (regression from bug 643032) [r=blassey]
This commit is contained in:
parent
2dfcf68c91
commit
b8f06db560
@ -206,6 +206,10 @@ abstract public class GeckoApp
|
||||
new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT,
|
||||
ViewGroup.LayoutParams.FILL_PARENT));
|
||||
|
||||
mConnectivityFilter = new IntentFilter();
|
||||
mConnectivityFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
|
||||
mConnectivityReceiver = new GeckoConnectivityReceiver();
|
||||
|
||||
if (!checkAndSetLaunchState(LaunchState.PreLaunch,
|
||||
LaunchState.Launching))
|
||||
return;
|
||||
@ -255,10 +259,6 @@ abstract public class GeckoApp
|
||||
})
|
||||
.show();
|
||||
}
|
||||
|
||||
mConnectivityFilter = new IntentFilter();
|
||||
mConnectivityFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
|
||||
mConnectivityReceiver = new GeckoConnectivityReceiver();
|
||||
}
|
||||
|
||||
boolean IsNewInstall() {
|
||||
|
Loading…
Reference in New Issue
Block a user