From 36400807ab968f9e48aee2292545147e74462caf Mon Sep 17 00:00:00 2001 From: Andrei Coman Date: Wed, 24 Feb 2016 10:48:28 -0800 Subject: [PATCH] Remove unused variable Reviewed By: bestander Differential Revision: D2971225 fb-gh-sync-id: 827d4403d436ec74043e2dde02e19513f7bf811f shipit-source-id: 827d4403d436ec74043e2dde02e19513f7bf811f --- .../java/com/facebook/react/modules/netinfo/NetInfoModule.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/netinfo/NetInfoModule.java b/ReactAndroid/src/main/java/com/facebook/react/modules/netinfo/NetInfoModule.java index 19b57159223952..1b8b93cbe30f72 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/netinfo/NetInfoModule.java +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/netinfo/NetInfoModule.java @@ -42,7 +42,6 @@ public class NetInfoModule extends ReactContextBaseJavaModule private static final String ERROR_MISSING_PERMISSION = "E_MISSING_PERMISSION"; private final ConnectivityManager mConnectivityManager; - private final ConnectivityManagerCompat mConnectivityManagerCompat; private final ConnectivityBroadcastReceiver mConnectivityBroadcastReceiver; private boolean mNoNetworkPermission = false; @@ -52,7 +51,6 @@ public NetInfoModule(ReactApplicationContext reactContext) { super(reactContext); mConnectivityManager = (ConnectivityManager) reactContext.getSystemService(Context.CONNECTIVITY_SERVICE); - mConnectivityManagerCompat = new ConnectivityManagerCompat(); mConnectivityBroadcastReceiver = new ConnectivityBroadcastReceiver(); }