From 6feb32cfa9c53ae7ccff433e2ce1843f145b1fc9 Mon Sep 17 00:00:00 2001 From: Nathan Freitas Date: Mon, 1 Dec 2014 11:03:56 -0500 Subject: [PATCH] re-enable network receiver --- src/org/torproject/android/service/TorService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/torproject/android/service/TorService.java b/src/org/torproject/android/service/TorService.java index d6fa4e01..f1fd6e6e 100644 --- a/src/org/torproject/android/service/TorService.java +++ b/src/org/torproject/android/service/TorService.java @@ -2047,7 +2047,7 @@ public class TorService extends Service implements TorServiceConstants, TorConst * Another way to do this would be to use the Observer pattern by defining the * BroadcastReciever in the Android manifest. */ - /** + private final BroadcastReceiver mNetworkStateReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { @@ -2106,7 +2106,7 @@ public class TorService extends Service implements TorServiceConstants, TorConst } } - };*/ + }; private boolean processSettingsImpl () throws Exception {