Commit d7c5e7fb authored by Matthew Finkel's avatar Matthew Finkel Committed by Georg Koppen
Browse files

Bug 25741 - TBA: Disable GeckoNetworkManager

The browser should not need information related to the network
interface or network state, tor should take care of that.
parent 65059142
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -199,13 +199,17 @@ public class GeckoApplication extends Application
        if (mIsInitialResume) {
            GeckoBatteryManager.getInstance().start(this);
            GeckoFontScaleListener.getInstance().initialize(this);
            if (!AppConstants.isTorBrowser()){
              GeckoNetworkManager.getInstance().start(this);
            }
            mIsInitialResume = false;
        } else if (mPausedGecko) {
            GeckoThread.onResume();
            mPausedGecko = false;
            if (!AppConstants.isTorBrowser()){
              GeckoNetworkManager.getInstance().start(this);
            }
        }

        mInBackground = false;
    }