NativeBannerMgr$1$2.smali

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

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr$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/nativead/NativeBannerMgr$1;


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

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

    iput-object p2, p0, Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr$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/nativead/NativeBannerMgr$1$2;->b:Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr$1;

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

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

    move-result v0

    if-nez v0, :cond_47

    iget-object v0, p0, Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr$1$2;->b:Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr$1;

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

    invoke-static {v0}, Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr;->b(Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr;)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

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

    iget-object v0, p0, Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr$1$2;->b:Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr$1;

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

    invoke-virtual {v0}, Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr;->startRefreshAd()V

    iget-object v0, p0, Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr$1$2;->b:Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr$1;

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

    invoke-static {v0}, Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr;->d(Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr;)Lcom/tradplus/ads/open/banner/BannerAdListener;

    move-result-object v0

    if-eqz v0, :cond_40

    iget-object v0, p0, Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr$1$2;->b:Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr$1;

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

    invoke-static {v0}, Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr;->d(Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr;)Lcom/tradplus/ads/open/banner/BannerAdListener;

    move-result-object v0

    new-instance v1, Lcom/tradplus/ads/base/bean/TPAdError;

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

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

    invoke-virtual {v0, v1}, Lcom/tradplus/ads/open/banner/BannerAdListener;->onAdLoadFailed(Lcom/tradplus/ads/base/bean/TPAdError;)V

    :cond_40
    iget-object v0, p0, Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr$1$2;->b:Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr$1;

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

    invoke-static {v0}, Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr;->e(Lcom/tradplus/ads/mgr/nativead/NativeBannerMgr;)Z

    :cond_47
    return-void
.end method