package com.tencent.wxop.stat; import android.content.Context; import com.tencent.wxop.stat.common.StatLogger; /* loaded from: classes.dex */ final class p implements Runnable { final /* synthetic */ String a; final /* synthetic */ Context b; final /* synthetic */ StatSpecifyReportedInfo c; p(String str, Context context, StatSpecifyReportedInfo statSpecifyReportedInfo) { this.a = str; this.b = context; this.c = statSpecifyReportedInfo; } @Override // java.lang.Runnable public final void run() { StatLogger statLogger; StatLogger statLogger2; try { if (!StatServiceImpl.a(this.a)) { new aq(new com.tencent.wxop.stat.event.d(this.b, StatServiceImpl.a(this.b, false, this.c), this.a, 0, StatConfig.getMaxReportEventLength(), null, this.c)).a(); } else { statLogger2 = StatServiceImpl.q; statLogger2.error("Error message in StatService.reportError() is empty."); } } catch (Throwable th) { statLogger = StatServiceImpl.q; statLogger.e(th); StatServiceImpl.a(this.b, th); } } }