bfz$2.smali
.class Ldxoptimizer/bfz$2;
.super Ljava/lang/Object;
.source "PushMessageHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Ldxoptimizer/bfz;->c(Lorg/json/JSONObject;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Ljava/lang/String;
.field final synthetic b:Lorg/json/JSONObject;
.field final synthetic c:Ldxoptimizer/bfz;
# direct methods
.method constructor <init>(Ldxoptimizer/bfz;Ljava/lang/String;Lorg/json/JSONObject;)V
.registers 4
.prologue
.line 189
iput-object p1, p0, Ldxoptimizer/bfz$2;->c:Ldxoptimizer/bfz;
iput-object p2, p0, Ldxoptimizer/bfz$2;->a:Ljava/lang/String;
iput-object p3, p0, Ldxoptimizer/bfz$2;->b:Lorg/json/JSONObject;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 4
.prologue
.line 192
iget-object v0, p0, Ldxoptimizer/bfz$2;->c:Ldxoptimizer/bfz;
invoke-static {v0}, Ldxoptimizer/bfz;->a(Ldxoptimizer/bfz;)Landroid/content/Context;
move-result-object v0
iget-object v1, p0, Ldxoptimizer/bfz$2;->a:Ljava/lang/String;
invoke-static {v0, v1}, Ldxoptimizer/pk;->a(Landroid/content/Context;Ljava/lang/String;)Z
move-result v0
.line 193
if-eqz v0, :cond_39
.line 194
iget-object v0, p0, Ldxoptimizer/bfz$2;->c:Ldxoptimizer/bfz;
invoke-static {v0}, Ldxoptimizer/bfz;->a(Ldxoptimizer/bfz;)Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Ldxoptimizer/bfv;->b(Landroid/content/Context;)Ljava/lang/String;
move-result-object v1
.line 197
:try_start_18
invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z
move-result v0
if-nez v0, :cond_3a
.line 198
new-instance v0, Lorg/json/JSONArray;
invoke-direct {v0, v1}, Lorg/json/JSONArray;-><init>(Ljava/lang/String;)V
.line 199
invoke-virtual {v0}, Lorg/json/JSONArray;->length()I
move-result v1
iget-object v2, p0, Ldxoptimizer/bfz$2;->b:Lorg/json/JSONObject;
invoke-virtual {v0, v1, v2}, Lorg/json/JSONArray;->put(ILjava/lang/Object;)Lorg/json/JSONArray;
.line 204
:goto_2c
iget-object v1, p0, Ldxoptimizer/bfz$2;->c:Ldxoptimizer/bfz;
invoke-static {v1}, Ldxoptimizer/bfz;->a(Ldxoptimizer/bfz;)Landroid/content/Context;
move-result-object v1
invoke-virtual {v0}, Lorg/json/JSONArray;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Ldxoptimizer/bfv;->a(Landroid/content/Context;Ljava/lang/String;)V
.line 213
:cond_39
:goto_39
return-void
.line 201
:cond_3a
new-instance v0, Lorg/json/JSONArray;
invoke-direct {v0}, Lorg/json/JSONArray;-><init>()V
.line 202
iget-object v1, p0, Ldxoptimizer/bfz$2;->b:Lorg/json/JSONObject;
invoke-virtual {v0, v1}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;
:try_end_44
.catch Lorg/json/JSONException; {:try_start_18 .. :try_end_44} :catch_45
goto :goto_2c
.line 209
:catch_45
move-exception v0
.line 210
invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V
goto :goto_39
.end method