wjc
18 小时以前 abede488312c289351ea3724e25416e5889b206e
app/src/main/java/com/hdl/photovoltaic/broadcast/NetworkChangeReceiver.java
@@ -21,7 +21,7 @@
    @Override
    public void onReceive(Context context, Intent intent) {
        //todo 已经在NetworkUtils里面实现
        //todo 已经转在NetworkUtils里面实现
//        ConnectivityManager connectionManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
//        NetworkInfo networkInfo = connectionManager.getActiveNetworkInfo();
//        if (networkInfo != null && networkInfo.isAvailable()) {