GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Unverified Commit 4a1c5a32 authored by Matthew Finkel's avatar Matthew Finkel
Browse files

Merge remote-tracking branch 'gk/bug_34372_v2' into tor-browser-68.9.0esr-10.0-1

parents a745de73 4912857c
......@@ -118,7 +118,7 @@ public final class GeckoRuntime implements Parcelable {
Log.d(LOGTAG, "Lifecycle: onResume");
// Monitor network status and send change notifications to Gecko
// while active.
if (BuildConfig.TOR_BROWSER_VERSION != "") {
if (BuildConfig.TOR_BROWSER_VERSION == "") {
GeckoNetworkManager.getInstance().start(GeckoAppShell.getApplicationContext());
}
}
......@@ -127,7 +127,7 @@ public final class GeckoRuntime implements Parcelable {
void onPause() {
Log.d(LOGTAG, "Lifecycle: onPause");
// Stop monitoring network status while inactive.
if (BuildConfig.TOR_BROWSER_VERSION != "") {
if (BuildConfig.TOR_BROWSER_VERSION == "") {
GeckoNetworkManager.getInstance().stop();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment