1、移除MTA可视化埋点

2、增加TalkingData可视化埋点
This commit is contained in:
CsHeng
2017-12-27 19:20:31 +08:00
parent 719dbeef76
commit 1006bf25c1
18 changed files with 63 additions and 57 deletions

View File

@ -16,6 +16,7 @@ import com.tencent.stat.StatConfig;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.InputStreamReader;
import java.io.LineNumberReader;
@ -93,9 +94,10 @@ public class DeviceUtils {
try {
return loadFileAsString("/sys/class/net/eth0/address")
.toUpperCase().substring(0, 17);
} catch (FileNotFoundException e) {
// do nothing
} catch (Exception e) {
e.printStackTrace();
}
}