增加LogHub 新增问答答案统计, 新增问答问题统计
This commit is contained in:
@ -126,7 +126,7 @@ public class DeviceUtils {
|
||||
}
|
||||
|
||||
|
||||
private static String getIPAddress(Context context) {
|
||||
public static String getIPAddress(Context context) {
|
||||
NetworkInfo info = ((ConnectivityManager) context
|
||||
.getSystemService(Context.CONNECTIVITY_SERVICE)).getActiveNetworkInfo();
|
||||
if (info != null && info.isConnected()) {
|
||||
|
||||
Reference in New Issue
Block a user