Bug 927253 - [geckoview] NPE in GeckoNetworkManager r=blassey
authorMark Finkle <mfinkle@mozilla.com>
Wed, 16 Oct 2013 17:02:36 -0400
changeset 151042 780abea72b55d6c114a2a4ab1d51add4af853fda
parent 150993 ef27681c50f7163f6f63ed3dff3332e0a56990e3
child 151043 723aed267eb044ffae88bf93d404d45b26e78206
push id25477
push usercbook@mozilla.com
push dateThu, 17 Oct 2013 11:42:45 +0000
treeherdermozilla-central@6da41e59512d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblassey
bugs927253
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 927253 - [geckoview] NPE in GeckoNetworkManager r=blassey
mobile/android/base/GeckoView.java
--- a/mobile/android/base/GeckoView.java
+++ b/mobile/android/base/GeckoView.java
@@ -50,16 +50,17 @@ public class GeckoView extends LayerView
             // Set the GeckoInterface if the context is an activity and the GeckoInterface
             // has not already been set
             if (context instanceof Activity && getGeckoInterface() == null) {
                 setGeckoInterface(new BaseGeckoInterface(context));
             }
 
             Clipboard.init(context);
             HardwareUtils.init(context);
+            GeckoNetworkManager.getInstance().init(context);
 
             GeckoLoader.loadMozGlue();
             BrowserDB.setEnableContentProviders(false);
         }
 
         if (url != null) {
             GeckoThread.setUri(url);
             GeckoThread.setAction(Intent.ACTION_VIEW);