.class Lcom/in2wow/sdk/d/a$2;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/in2wow/sdk/d/a;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/in2wow/sdk/d/a;


# direct methods
.method constructor <init>(Lcom/in2wow/sdk/d/a;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/in2wow/sdk/d/a$2;->a:Lcom/in2wow/sdk/d/a;

    .line 157
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .line 160
    iget-object v0, p0, Lcom/in2wow/sdk/d/a$2;->a:Lcom/in2wow/sdk/d/a;

    invoke-static {v0}, Lcom/in2wow/sdk/d/a;->a(Lcom/in2wow/sdk/d/a;)Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 166
    :cond_0
    :try_start_0
    iget-object v0, p0, Lcom/in2wow/sdk/d/a$2;->a:Lcom/in2wow/sdk/d/a;

    invoke-static {v0}, Lcom/in2wow/sdk/d/a;->c(Lcom/in2wow/sdk/d/a;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/in2wow/sdk/m/o;->a(Landroid/content/Context;)Lcom/in2wow/sdk/m/o;

    move-result-object v0

    .line 167
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V

    const-string v2, "device_id"

    .line 168
    iget-object v3, p0, Lcom/in2wow/sdk/d/a$2;->a:Lcom/in2wow/sdk/d/a;

    invoke-static {v3}, Lcom/in2wow/sdk/d/a;->d(Lcom/in2wow/sdk/d/a;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v2, "type"

    const-string v3, "login"

    .line 169
    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v2, "ot"

    const/4 v3, 0x0

    .line 170
    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    const-string v2, "level"

    .line 171
    invoke-static {}, Lcom/in2wow/sdk/m/d;->d()I

    move-result v3

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    const-string v2, "dpi"

    .line 172
    invoke-static {}, Lcom/in2wow/sdk/m/d;->c()I

    move-result v3

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    const-string v2, "screen_width"

    .line 173
    invoke-static {}, Lcom/in2wow/sdk/m/d;->e()I

    move-result v3

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    const-string v2, "screen_height"

    .line 174
    invoke-static {}, Lcom/in2wow/sdk/m/d;->f()I

    move-result v3

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    const-string v2, "cr"

    .line 175
    iget-object v3, p0, Lcom/in2wow/sdk/d/a$2;->a:Lcom/in2wow/sdk/d/a;

    invoke-static {v3}, Lcom/in2wow/sdk/d/a;->c(Lcom/in2wow/sdk/d/a;)Landroid/content/Context;

    move-result-object v3

    invoke-static {v3}, Lcom/in2wow/sdk/m/k;->e(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v2, "dm"

    .line 176
    invoke-static {}, Lcom/in2wow/sdk/m/k;->c()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v2, "mf"

    .line 177
    invoke-static {}, Lcom/in2wow/sdk/m/k;->d()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v2, "max_storage"

    .line 178
    invoke-virtual {v0}, Lcom/in2wow/sdk/m/o;->f()J

    move-result-wide v3

    invoke-virtual {v1, v2, v3, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;

    const-string v0, "asset_storage"

    .line 179
    iget-object v2, p0, Lcom/in2wow/sdk/d/a$2;->a:Lcom/in2wow/sdk/d/a;

    invoke-static {v2}, Lcom/in2wow/sdk/d/a;->c(Lcom/in2wow/sdk/d/a;)Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Lcom/in2wow/sdk/m/o;->a(Landroid/content/Context;)Lcom/in2wow/sdk/m/o;

    move-result-object v2

    invoke-virtual {v2}, Lcom/in2wow/sdk/m/o;->b()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/in2wow/sdk/m/o;->b(Ljava/lang/String;)J

    move-result-wide v2

    invoke-virtual {v1, v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;

    const-string v0, "creative_storage"

    .line 180
    iget-object v2, p0, Lcom/in2wow/sdk/d/a$2;->a:Lcom/in2wow/sdk/d/a;

    invoke-static {v2}, Lcom/in2wow/sdk/d/a;->c(Lcom/in2wow/sdk/d/a;)Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Lcom/in2wow/sdk/m/o;->a(Landroid/content/Context;)Lcom/in2wow/sdk/m/o;

    move-result-object v2

    invoke-virtual {v2}, Lcom/in2wow/sdk/m/o;->a()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/in2wow/sdk/m/o;->b(Ljava/lang/String;)J

    move-result-wide v2

    invoke-virtual {v1, v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;

    .line 182
    iget-object v0, p0, Lcom/in2wow/sdk/d/a$2;->a:Lcom/in2wow/sdk/d/a;

    invoke-static {v0}, Lcom/in2wow/sdk/d/a;->e(Lcom/in2wow/sdk/d/a;)Lcom/in2wow/sdk/d/c;

    move-result-object v0

    invoke-virtual {v1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/in2wow/sdk/d/c;->a(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 185
    sget-boolean v1, Lcom/in2wow/sdk/a/b;->e:Z

    if-eqz v1, :cond_1

    .line 186
    invoke-static {v0}, Lcom/in2wow/sdk/m/j;->a(Ljava/lang/Throwable;)V

    :cond_1
    :goto_0
    return-void
.end method
