PushCenter$5.smali

.class Lcom/tradplus/ads/pushcenter/PushCenter$5;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/tradplus/ads/pushcenter/PushCenter;->sendGroupMeesageToServer(Landroid/content/Context;)V
.end annotation

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


# instance fields
.field final synthetic a:Landroid/content/Context;

.field final synthetic b:Lcom/tradplus/ads/pushcenter/PushCenter;


# direct methods
.method constructor <init>(Lcom/tradplus/ads/pushcenter/PushCenter;Landroid/content/Context;)V
    .registers 3

    iput-object p1, p0, Lcom/tradplus/ads/pushcenter/PushCenter$5;->b:Lcom/tradplus/ads/pushcenter/PushCenter;

    iput-object p2, p0, Lcom/tradplus/ads/pushcenter/PushCenter$5;->a:Landroid/content/Context;

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

    return-void
.end method


# virtual methods
.method public run()V
    .registers 4

    invoke-static {}, Lcom/tradplus/ads/mobileads/api/TPMessageManager;->getInstance()Lcom/tradplus/ads/mobileads/api/TPMessageManager;

    move-result-object v0

    invoke-virtual {v0}, Lcom/tradplus/ads/mobileads/api/TPMessageManager;->isCanUploadMessage()Z

    move-result v0

    if-nez v0, :cond_b

    return-void

    :cond_b
    iget-object v0, p0, Lcom/tradplus/ads/pushcenter/PushCenter$5;->a:Landroid/content/Context;

    if-eqz v0, :cond_26

    iget-object v1, p0, Lcom/tradplus/ads/pushcenter/PushCenter$5;->b:Lcom/tradplus/ads/pushcenter/PushCenter;

    sget v2, Lcom/tradplus/ads/mobileads/util/TradPlusDataConstants;->CACHETRADPLUSTYPE:I

    invoke-static {v1, v0, v2}, Lcom/tradplus/ads/pushcenter/PushCenter;->a(Lcom/tradplus/ads/pushcenter/PushCenter;Landroid/content/Context;I)V

    iget-object v0, p0, Lcom/tradplus/ads/pushcenter/PushCenter$5;->b:Lcom/tradplus/ads/pushcenter/PushCenter;

    iget-object v1, p0, Lcom/tradplus/ads/pushcenter/PushCenter$5;->a:Landroid/content/Context;

    sget v2, Lcom/tradplus/ads/mobileads/util/TradPlusDataConstants;->CACHETYPE:I

    invoke-static {v0, v1, v2}, Lcom/tradplus/ads/pushcenter/PushCenter;->a(Lcom/tradplus/ads/pushcenter/PushCenter;Landroid/content/Context;I)V

    iget-object v0, p0, Lcom/tradplus/ads/pushcenter/PushCenter$5;->b:Lcom/tradplus/ads/pushcenter/PushCenter;

    iget-object v1, p0, Lcom/tradplus/ads/pushcenter/PushCenter$5;->a:Landroid/content/Context;

    invoke-static {v0, v1}, Lcom/tradplus/ads/pushcenter/PushCenter;->a(Lcom/tradplus/ads/pushcenter/PushCenter;Landroid/content/Context;)V

    :cond_26
    return-void
.end method