Bug 927253 - [geckoview] NPE in GeckoNetworkManager r=blassey
authorMark Finkle <mfinkle@mozilla.com>
Wed, 16 Oct 2013 17:02:36 -0400
changeset 165809 780abea72b55d6c114a2a4ab1d51add4af853fda
parent 165760 ef27681c50f7163f6f63ed3dff3332e0a56990e3
child 165810 723aed267eb044ffae88bf93d404d45b26e78206
push id428
push userbbajaj@mozilla.com
push dateTue, 28 Jan 2014 00:16:25 +0000
treeherdermozilla-release@cd72a7ff3a75 [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);