打开调试开关、修改ImageUtils错误参数bug、修改版本号为2.0

This commit is contained in:
huangzhuanghua
2016-08-11 09:15:33 +08:00
parent 39fecb09a7
commit 99cfa2080f
5 changed files with 8 additions and 8 deletions

View File

@ -21,14 +21,14 @@ public class DataUtils {
public static void init(Application application) {
//TalkingData
//dubug true release false
TCAgent.LOG_ON = false;
TCAgent.LOG_ON = true;
TCAgent.init(application);
TCAgent.setReportUncaughtExceptions(true);
//MTA
// 打开debug开关可查看mta上报日志或错误
// dubug true release false
StatConfig.setDebugEnable(false);
StatConfig.setDebugEnable(true);
// 收集未处理的异常
StatConfig.setAutoExceptionCaught(true);
// 设置数据上报策略