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

@ -11,13 +11,12 @@ import android.util.Log;
import com.gh.common.constant.Config;
import com.gh.common.util.DataCollectionUtils;
import com.gh.gamecenter.DataUtils;
import com.gh.gamecenter.SplashScreenActivity;
import com.lightgame.config.CommonDebug;
import com.lightgame.download.FileUtils;
import com.lightgame.utils.AppManager;
import com.lightgame.utils.Utils;
import com.tencent.stat.StatService;
import com.tendcloud.tenddata.TCAgent;
import java.io.File;
import java.io.FileWriter;
@ -118,23 +117,7 @@ public class AppUncaughtHandler implements UncaughtExceptionHandler {
} catch (Exception e) {
}
// MTA主动上传错误
try {
StatService.reportException(context, throwable);
} catch (Exception e) {
}
// //bugly 作为默认处理异常的类库,已经上报了,此处不重复上报
// try {
// CrashReport.postCatchedException(throwable);
// } catch (Exception e) {
// }
//talkingdata
try {
TCAgent.onError(context, throwable);
} catch (Exception e) {
}
DataUtils.onError(context, throwable);
}