fix td npe

This commit is contained in:
CsHeng
2017-05-12 15:53:43 +08:00
parent 7264249ef8
commit bb5e9e739b

View File

@ -25,8 +25,8 @@ public class DataUtils {
//TalkingData
if (!debug) {
TCAgent.setReportUncaughtExceptions(true);
TCAgent.init(context, Config.TD_APPID, channel);
TCAgent.setReportUncaughtExceptions(true);
} else {
TCAgent.LOG_ON = true;
}