mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 655997 - Crash when changing orientation on Android (regression from bug 643032) [r=blassey]
This commit is contained in:
parent
28b5f7d673
commit
fd620c9c85
@ -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