l.smali
.class final Lcom/tencent/wxop/stat/l;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field final synthetic a:Landroid/content/Context;
# direct methods
.method constructor <init>(Landroid/content/Context;)V
.registers 2
iput-object p1, p0, Lcom/tencent/wxop/stat/l;->a:Landroid/content/Context;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.registers 3
invoke-static {}, Lcom/tencent/wxop/stat/StatServiceImpl;->e()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/tencent/wxop/stat/a;->a(Landroid/content/Context;)Lcom/tencent/wxop/stat/a;
move-result-object v0
invoke-virtual {v0}, Lcom/tencent/wxop/stat/a;->h()V
iget-object v0, p0, Lcom/tencent/wxop/stat/l;->a:Landroid/content/Context;
const/4 v1, 0x1
invoke-static {v0, v1}, Lcom/tencent/wxop/stat/common/l;->a(Landroid/content/Context;Z)I
iget-object v0, p0, Lcom/tencent/wxop/stat/l;->a:Landroid/content/Context;
invoke-static {v0}, Lcom/tencent/wxop/stat/au;->a(Landroid/content/Context;)Lcom/tencent/wxop/stat/au;
iget-object v0, p0, Lcom/tencent/wxop/stat/l;->a:Landroid/content/Context;
invoke-static {v0}, Lcom/tencent/wxop/stat/i;->b(Landroid/content/Context;)Lcom/tencent/wxop/stat/i;
invoke-static {}, Ljava/lang/Thread;->getDefaultUncaughtExceptionHandler()Ljava/lang/Thread$UncaughtExceptionHandler;
move-result-object v0
invoke-static {v0}, Lcom/tencent/wxop/stat/StatServiceImpl;->a(Ljava/lang/Thread$UncaughtExceptionHandler;)Ljava/lang/Thread$UncaughtExceptionHandler;
new-instance v0, Lcom/tencent/wxop/stat/ao;
invoke-direct {v0}, Lcom/tencent/wxop/stat/ao;-><init>()V
invoke-static {v0}, Ljava/lang/Thread;->setDefaultUncaughtExceptionHandler(Ljava/lang/Thread$UncaughtExceptionHandler;)V
invoke-static {}, Lcom/tencent/wxop/stat/StatConfig;->getStatSendStrategy()Lcom/tencent/wxop/stat/StatReportStrategy;
move-result-object v0
sget-object v1, Lcom/tencent/wxop/stat/StatReportStrategy;->APP_LAUNCH:Lcom/tencent/wxop/stat/StatReportStrategy;
if-ne v0, v1, :cond_38
iget-object v0, p0, Lcom/tencent/wxop/stat/l;->a:Landroid/content/Context;
const/4 v1, -0x1
invoke-static {v0, v1}, Lcom/tencent/wxop/stat/StatServiceImpl;->commitEvents(Landroid/content/Context;I)V
:cond_38
invoke-static {}, Lcom/tencent/wxop/stat/StatConfig;->isDebugEnable()Z
move-result v0
if-eqz v0, :cond_47
invoke-static {}, Lcom/tencent/wxop/stat/StatServiceImpl;->f()Lcom/tencent/wxop/stat/common/StatLogger;
move-result-object v0
const-string v1, "Init MTA StatService success."
invoke-virtual {v0, v1}, Lcom/tencent/wxop/stat/common/StatLogger;->d(Ljava/lang/Object;)V
:cond_47
return-void
.end method