fix td npe
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user