InterstitialMgr$1$1.smali

.class final Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$1;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;->onAdLoaded(Lcom/tradplus/ads/core/cache/AdCache;)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/tradplus/ads/core/cache/AdCache;

.field final synthetic b:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;


# direct methods
.method constructor <init>(Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;Lcom/tradplus/ads/core/cache/AdCache;)V
    .registers 3

    iput-object p1, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$1;->b:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;

    iput-object p2, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$1;->a:Lcom/tradplus/ads/core/cache/AdCache;

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

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 6

    iget-object v0, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$1;->b:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;

    iget-object v0, v0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;->a:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;

    invoke-static {v0}, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;->a(Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;)Z

    move-result v0

    const-string v1, "tradplus"

    if-nez v0, :cond_68

    iget-object v0, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$1;->b:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;

    iget-object v0, v0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;->a:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;

    invoke-static {v0}, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;->b(Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/tradplus/ads/core/AdMediationManager;->getInstance(Ljava/lang/String;)Lcom/tradplus/ads/core/AdMediationManager;

    move-result-object v0

    const-string v2, "InterstitialMgr onAdLoaded set loading false"

    invoke-static {v1, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    const-string v2, "InterstitialMgr onAdLoaded set loadSuccessButNotShow true"

    invoke-static {v1, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Lcom/tradplus/ads/core/AdMediationManager;->setLoading(Z)V

    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Lcom/tradplus/ads/core/AdMediationManager;->setLoadSuccess(Z)V

    invoke-static {}, Lcom/tradplus/ads/mgr/a/b;->a()Lcom/tradplus/ads/mgr/a/b;

    move-result-object v0

    iget-object v2, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$1;->b:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;

    iget-object v2, v2, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;->a:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;

    invoke-static {v2}, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;->b(Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/tradplus/ads/mgr/a/b;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$1;->b:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;

    iget-object v0, v0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;->a:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;

    invoke-static {v0}, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;->c(Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;)Lcom/tradplus/ads/open/interstitial/InterstitialAdListener;

    move-result-object v0

    if-eqz v0, :cond_61

    iget-object v0, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$1;->b:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;

    iget-object v0, v0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;->a:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;

    invoke-static {v0}, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;->c(Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;)Lcom/tradplus/ads/open/interstitial/InterstitialAdListener;

    move-result-object v0

    new-instance v2, Lcom/tradplus/ads/base/bean/TPAdInfo;

    iget-object v3, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$1;->b:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;

    iget-object v3, v3, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;->a:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;

    invoke-static {v3}, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;->b(Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;)Ljava/lang/String;

    move-result-object v3

    iget-object v4, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$1;->a:Lcom/tradplus/ads/core/cache/AdCache;

    invoke-virtual {v4}, Lcom/tradplus/ads/core/cache/AdCache;->getAdapter()Lcom/tradplus/ads/base/adapter/TPBaseAdapter;

    move-result-object v4

    invoke-direct {v2, v3, v4}, Lcom/tradplus/ads/base/bean/TPAdInfo;-><init>(Ljava/lang/String;Lcom/tradplus/ads/base/adapter/TPBaseAdapter;)V

    invoke-interface {v0, v2}, Lcom/tradplus/ads/open/interstitial/InterstitialAdListener;->onAdLoaded(Lcom/tradplus/ads/base/bean/TPAdInfo;)V

    :cond_61
    iget-object v0, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$1;->b:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;

    iget-object v0, v0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;->a:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;

    invoke-static {v0}, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;->d(Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;)Z

    :cond_68
    const-string v0, "InterstitialMgr onAdLoaded set 1s expired"

    invoke-static {v1, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    iget-object v0, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$1;->b:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;

    iget-object v0, v0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;->a:Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;

    invoke-static {v0}, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;->e(Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr;)Lcom/tradplus/ads/base/common/IntervalLock;

    move-result-object v0

    const-wide/16 v1, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/tradplus/ads/base/common/IntervalLock;->setExpireSecond(J)V

    return-void
.end method