q.smali
.class final Lcom/tencent/wxop/stat/q;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field final synthetic a:Landroid/content/Context;
.field final synthetic b:Ljava/lang/Throwable;
# direct methods
.method constructor <init>(Landroid/content/Context;Ljava/lang/Throwable;)V
.registers 3
iput-object p1, p0, Lcom/tencent/wxop/stat/q;->a:Landroid/content/Context;
iput-object p2, p0, Lcom/tencent/wxop/stat/q;->b:Ljava/lang/Throwable;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.registers 7
:try_start_0
invoke-static {}, Lcom/tencent/wxop/stat/StatConfig;->isEnableStatService()Z
move-result v0
if-nez v0, :cond_7
:goto_6
return-void
:cond_7
new-instance v0, Lcom/tencent/wxop/stat/event/d;
iget-object v1, p0, Lcom/tencent/wxop/stat/q;->a:Landroid/content/Context;
iget-object v2, p0, Lcom/tencent/wxop/stat/q;->a:Landroid/content/Context;
const/4 v3, 0x0
const/4 v4, 0x0
invoke-static {v2, v3, v4}, Lcom/tencent/wxop/stat/StatServiceImpl;->a(Landroid/content/Context;ZLcom/tencent/wxop/stat/StatSpecifyReportedInfo;)I
move-result v2
const/16 v3, 0x63
iget-object v4, p0, Lcom/tencent/wxop/stat/q;->b:Ljava/lang/Throwable;
sget-object v5, Lcom/tencent/wxop/stat/event/h;->a:Lcom/tencent/wxop/stat/StatSpecifyReportedInfo;
invoke-direct/range {v0 .. v5}, Lcom/tencent/wxop/stat/event/d;-><init>(Landroid/content/Context;IILjava/lang/Throwable;Lcom/tencent/wxop/stat/StatSpecifyReportedInfo;)V
new-instance v1, Lcom/tencent/wxop/stat/aq;
invoke-direct {v1, v0}, Lcom/tencent/wxop/stat/aq;-><init>(Lcom/tencent/wxop/stat/event/e;)V
invoke-virtual {v1}, Lcom/tencent/wxop/stat/aq;->a()V
:try_end_24
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_24} :catch_25
goto :goto_6
:catch_25
move-exception v0
invoke-static {}, Lcom/tencent/wxop/stat/StatServiceImpl;->f()Lcom/tencent/wxop/stat/common/StatLogger;
move-result-object v1
new-instance v2, Ljava/lang/StringBuilder;
const-string v3, "reportSdkSelfException error: "
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {v1, v0}, Lcom/tencent/wxop/stat/common/StatLogger;->e(Ljava/lang/Object;)V
goto :goto_6
.end method