更新 talkingdata SDK 规避频繁获取 IMEI

This commit is contained in:
chenjuntao
2020-10-21 16:45:01 +08:00
committed by juntao
parent 59e30d432d
commit f7342a944e
4 changed files with 3 additions and 5 deletions

View File

@ -148,19 +148,16 @@ public class DataUtils {
}
public static void onEvent(Context var0, String var1, String var2) {
TCAgent.onEvent(var0, var1, var2);
Properties prop = new Properties();
prop.setProperty(var1, var2);
StatService.trackCustomKVEvent(var0, var1, prop);
}
public static void onPause(Activity var0) {
TCAgent.onPageEnd(var0, var0.getClass().getSimpleName());
StatService.onPause(var0);
}
public static void onResume(Activity var0) {
TCAgent.onPageStart(var0, var0.getClass().getSimpleName());
StatService.onResume(var0);
}
@ -173,7 +170,6 @@ public class DataUtils {
}
public static void onEvent(Context var0, String var1, String var2, Map<String, Object> var3) {
TCAgent.onEvent(var0, var1, var2, var3);
Properties prop = new Properties();
prop.setProperty("label", var2);
for (String key : var3.keySet()) {