光环助手V3.2数据统计需求(登录,问答精选刷新)
This commit is contained in:
@ -154,7 +154,7 @@ public class DeviceUtils {
|
||||
return null;
|
||||
}
|
||||
|
||||
private static String getNetwork(Context context) {
|
||||
public static String getNetwork(Context context) {
|
||||
NetworkInfo info = ((ConnectivityManager) context
|
||||
.getSystemService(Context.CONNECTIVITY_SERVICE)).getActiveNetworkInfo();
|
||||
if (info != null && info.isConnected()) {
|
||||
|
||||
Reference in New Issue
Block a user