.class public final Lcom/uyumao/r;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field public final a:Lorg/json/JSONObject;


# direct methods
.method public constructor <init>(Lorg/json/JSONObject;)V
    .locals 0

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

    iput-object p1, p0, Lcom/uyumao/r;->a:Lorg/json/JSONObject;

    return-void
.end method

.method public static synthetic a(Lcom/uyumao/r;)Lorg/json/JSONObject;
    .locals 0

    iget-object p0, p0, Lcom/uyumao/r;->a:Lorg/json/JSONObject;

    return-object p0
.end method


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

    iget-object v0, p0, Lcom/uyumao/r;->a:Lorg/json/JSONObject;

    if-nez v0, :cond_0

    return-void

    :cond_0
    :try_start_0
    sget-object v3, Lcom/uyumao/e;->a:Landroid/content/Context;

    invoke-static {v3}, Lcom/umeng/commonsdk/utils/UMUtils;->getAppkey(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v6

    iget-object v0, p0, Lcom/uyumao/r;->a:Lorg/json/JSONObject;

    const-string v1, "batch"

    const/16 v2, 0x12c

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

    move-result v0

    const/16 v1, 0x64

    invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I

    move-result v5

    iget-object v0, p0, Lcom/uyumao/r;->a:Lorg/json/JSONObject;

    const-string v1, "action"

    const/4 v2, 0x1

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

    move-result v4

    if-eq v4, v2, :cond_1

    const/4 v0, 0x2

    if-eq v4, v0, :cond_1

    return-void

    :cond_1
    new-instance v0, Lcom/uyumao/r$a;

    move-object v1, v0

    move-object v2, p0

    invoke-direct/range {v1 .. v6}, Lcom/uyumao/r$a;-><init>(Lcom/uyumao/r;Landroid/content/Context;IILjava/lang/String;)V

    const-wide/16 v1, 0x0

    sget-object v3, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;

    invoke-static {v0, v1, v2, v3}, Lcom/uyumao/s;->a(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :catchall_0
    return-void
.end method