35 lines
1.0 KiB
Java
35 lines
1.0 KiB
Java
package com.tencent.wxop.stat;
|
|
|
|
import android.content.Context;
|
|
import com.tencent.wxop.stat.common.StatLogger;
|
|
import java.lang.Thread;
|
|
|
|
/* loaded from: classes.dex */
|
|
final class l implements Runnable {
|
|
final /* synthetic */ Context a;
|
|
|
|
l(Context context) {
|
|
this.a = context;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
Context context;
|
|
StatLogger statLogger;
|
|
context = StatServiceImpl.t;
|
|
a.a(context).h();
|
|
com.tencent.wxop.stat.common.l.a(this.a, true);
|
|
au.a(this.a);
|
|
i.b(this.a);
|
|
Thread.UncaughtExceptionHandler unused = StatServiceImpl.r = Thread.getDefaultUncaughtExceptionHandler();
|
|
Thread.setDefaultUncaughtExceptionHandler(new ao());
|
|
if (StatConfig.getStatSendStrategy() == StatReportStrategy.APP_LAUNCH) {
|
|
StatServiceImpl.commitEvents(this.a, -1);
|
|
}
|
|
if (StatConfig.isDebugEnable()) {
|
|
statLogger = StatServiceImpl.q;
|
|
statLogger.d("Init MTA StatService success.");
|
|
}
|
|
}
|
|
}
|