Remove unused variable
Reviewed By: bestander Differential Revision: D2971225 fb-gh-sync-id: 827d4403d436ec74043e2dde02e19513f7bf811f shipit-source-id: 827d4403d436ec74043e2dde02e19513f7bf811f
This commit is contained in:
parent
3faa70ab4f
commit
36400807ab
|
@ -42,7 +42,6 @@ public class NetInfoModule extends ReactContextBaseJavaModule
|
||||||
private static final String ERROR_MISSING_PERMISSION = "E_MISSING_PERMISSION";
|
private static final String ERROR_MISSING_PERMISSION = "E_MISSING_PERMISSION";
|
||||||
|
|
||||||
private final ConnectivityManager mConnectivityManager;
|
private final ConnectivityManager mConnectivityManager;
|
||||||
private final ConnectivityManagerCompat mConnectivityManagerCompat;
|
|
||||||
private final ConnectivityBroadcastReceiver mConnectivityBroadcastReceiver;
|
private final ConnectivityBroadcastReceiver mConnectivityBroadcastReceiver;
|
||||||
private boolean mNoNetworkPermission = false;
|
private boolean mNoNetworkPermission = false;
|
||||||
|
|
||||||
|
@ -52,7 +51,6 @@ public class NetInfoModule extends ReactContextBaseJavaModule
|
||||||
super(reactContext);
|
super(reactContext);
|
||||||
mConnectivityManager =
|
mConnectivityManager =
|
||||||
(ConnectivityManager) reactContext.getSystemService(Context.CONNECTIVITY_SERVICE);
|
(ConnectivityManager) reactContext.getSystemService(Context.CONNECTIVITY_SERVICE);
|
||||||
mConnectivityManagerCompat = new ConnectivityManagerCompat();
|
|
||||||
mConnectivityBroadcastReceiver = new ConnectivityBroadcastReceiver();
|
mConnectivityBroadcastReceiver = new ConnectivityBroadcastReceiver();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue