PushCenter$3.smali
.class Lcom/tradplus/ads/pushcenter/PushCenter$3;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/tradplus/ads/pushcenter/PushCenter;->saveMessageToLocal(Ljava/lang/String;Lcom/tradplus/ads/network/FSOpenResponse;I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:I
.field final synthetic b:Ljava/lang/String;
.field final synthetic c:Lcom/tradplus/ads/network/FSOpenResponse;
.field final synthetic d:Lcom/tradplus/ads/pushcenter/PushCenter;
# direct methods
.method constructor <init>(Lcom/tradplus/ads/pushcenter/PushCenter;ILjava/lang/String;Lcom/tradplus/ads/network/FSOpenResponse;)V
.registers 5
iput-object p1, p0, Lcom/tradplus/ads/pushcenter/PushCenter$3;->d:Lcom/tradplus/ads/pushcenter/PushCenter;
iput p2, p0, Lcom/tradplus/ads/pushcenter/PushCenter$3;->a:I
iput-object p3, p0, Lcom/tradplus/ads/pushcenter/PushCenter$3;->b:Ljava/lang/String;
iput-object p4, p0, Lcom/tradplus/ads/pushcenter/PushCenter$3;->c:Lcom/tradplus/ads/network/FSOpenResponse;
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$3;->d:Lcom/tradplus/ads/pushcenter/PushCenter;
invoke-static {v0}, Lcom/tradplus/ads/pushcenter/PushCenter;->a(Lcom/tradplus/ads/pushcenter/PushCenter;)Landroid/content/Context;
move-result-object v0
if-eqz v0, :cond_35
iget-object v0, p0, Lcom/tradplus/ads/pushcenter/PushCenter$3;->d:Lcom/tradplus/ads/pushcenter/PushCenter;
invoke-static {v0}, Lcom/tradplus/ads/pushcenter/PushCenter;->a(Lcom/tradplus/ads/pushcenter/PushCenter;)Landroid/content/Context;
move-result-object v0
iget v1, p0, Lcom/tradplus/ads/pushcenter/PushCenter$3;->a:I
invoke-static {v0, v1}, Lcom/tradplus/ads/mobileads/util/ACache;->get(Landroid/content/Context;I)Lcom/tradplus/ads/mobileads/util/ACache;
move-result-object v0
if-nez v0, :cond_22
return-void
:cond_22
iget-object v0, p0, Lcom/tradplus/ads/pushcenter/PushCenter$3;->d:Lcom/tradplus/ads/pushcenter/PushCenter;
invoke-static {v0}, Lcom/tradplus/ads/pushcenter/PushCenter;->a(Lcom/tradplus/ads/pushcenter/PushCenter;)Landroid/content/Context;
move-result-object v0
iget v1, p0, Lcom/tradplus/ads/pushcenter/PushCenter$3;->a:I
invoke-static {v0, v1}, Lcom/tradplus/ads/mobileads/util/ACache;->get(Landroid/content/Context;I)Lcom/tradplus/ads/mobileads/util/ACache;
move-result-object v0
iget-object v1, p0, Lcom/tradplus/ads/pushcenter/PushCenter$3;->b:Ljava/lang/String;
iget-object v2, p0, Lcom/tradplus/ads/pushcenter/PushCenter$3;->c:Lcom/tradplus/ads/network/FSOpenResponse;
invoke-virtual {v0, v1, v2}, Lcom/tradplus/ads/mobileads/util/ACache;->put(Ljava/lang/String;Ljava/io/Serializable;)V
:cond_35
return-void
.end method