InterstitialMgr$1$2.smali

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

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1;->onAdLoadFailed(Ljava/lang/String;)V
.end annotation

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


# instance fields
.field final synthetic a:Ljava/lang/String;

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


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

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

    iput-object p2, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$2;->a:Ljava/lang/String;

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

    return-void
.end method


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

    iget-object v0, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$2;->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

    if-nez v0, :cond_51

    iget-object v0, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$2;->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/4 v1, 0x0

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

    const-string v1, "tradplus"

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

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

    const-string v2, "InterstitialMgr onAdLoadFailed set allLoadFail false"

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

    const-string v2, "InterstitialMgr onAdLoadFailed set hasCallBackToDeveloper true"

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

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

    iget-object v0, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$2;->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_4a

    iget-object v0, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$2;->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 v1, Lcom/tradplus/ads/base/bean/TPAdError;

    iget-object v2, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$2;->a:Ljava/lang/String;

    invoke-direct {v1, v2}, Lcom/tradplus/ads/base/bean/TPAdError;-><init>(Ljava/lang/String;)V

    invoke-interface {v0, v1}, Lcom/tradplus/ads/open/interstitial/InterstitialAdListener;->onAdFailed(Lcom/tradplus/ads/base/bean/TPAdError;)V

    :cond_4a
    iget-object v0, p0, Lcom/tradplus/ads/mgr/interstitial/InterstitialMgr$1$2;->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_51
    return-void
.end method