MyAlertController$5.smali

.class Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;
.super Ljava/lang/Object;
.source "MyAlertController.java"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;

.field final synthetic val$dialogAd:Lcom/cm/plugincluster/ad/IAd;

.field final synthetic val$pageId:I


# direct methods
.method constructor <init>(Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;Lcom/cm/plugincluster/ad/IAd;I)V
    .registers 4

    .prologue
    .line 1011
    iput-object p1, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;

    iput-object p2, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->val$dialogAd:Lcom/cm/plugincluster/ad/IAd;

    iput p3, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->val$pageId:I

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

    return-void
.end method


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

    .prologue
    const/4 v5, 0x0

    const/4 v3, 0x4

    const/4 v4, 0x0

    .line 1014
    iget-object v0, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->val$dialogAd:Lcom/cm/plugincluster/ad/IAd;

    invoke-interface {v0, v4}, Lcom/cm/plugincluster/ad/IAd;->setShowType(I)V

    .line 1015
    invoke-static {}, Lcom/cm/plugincluster/ad/AdDelegate;->getAdSdk()Lcom/cm/plugincluster/ad/IAdSdk;

    move-result-object v0

    iget-object v1, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;

    # getter for: Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->mContext:Landroid/content/Context;
    invoke-static {v1}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->access$1200(Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->val$dialogAd:Lcom/cm/plugincluster/ad/IAd;

    invoke-interface {v0, v1, v2, v5, v5}, Lcom/cm/plugincluster/ad/IAdSdk;->createAdView(Landroid/content/Context;Lcom/cm/plugincluster/ad/IAd;Lcom/cm/plugincluster/ad/ui/IAdViewStyle;Landroid/view/View;)Lcom/cm/plugincluster/ad/ui/IAdView;

    move-result-object v0

    .line 1016
    if-nez v0, :cond_23

    .line 1017
    iget-object v0, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;

    iget v1, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->val$pageId:I

    const/4 v2, 0x3

    invoke-virtual {v0, v1, v2, v3}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->reportCleanQuitAdData(IBB)V

    .line 1030
    :goto_22
    return-void

    .line 1020
    :cond_23
    iget-object v1, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;

    # getter for: Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->adBannerPicDefault:Landroid/widget/ImageView;
    invoke-static {v1}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->access$1400(Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;)Landroid/widget/ImageView;

    move-result-object v1

    if-eqz v1, :cond_34

    .line 1021
    iget-object v1, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;

    # getter for: Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->adBannerPicDefault:Landroid/widget/ImageView;
    invoke-static {v1}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->access$1400(Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;)Landroid/widget/ImageView;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 1023
    :cond_34
    invoke-interface {v0}, Lcom/cm/plugincluster/ad/ui/IAdView;->getView()Landroid/view/View;

    move-result-object v1

    .line 1024
    iget-object v2, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;

    iget v3, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->val$pageId:I

    # invokes: Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->getListener(I)Lcom/cm/plugincluster/ad/ui/IAdOperatorListener;
    invoke-static {v2, v3}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->access$1500(Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;I)Lcom/cm/plugincluster/ad/ui/IAdOperatorListener;

    move-result-object v2

    invoke-interface {v0, v2}, Lcom/cm/plugincluster/ad/ui/IAdView;->setAdOperatorListener(Lcom/cm/plugincluster/ad/ui/IAdOperatorListener;)V

    .line 1025
    iget-object v2, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;

    # getter for: Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->adBannerRelativeLayout:Landroid/widget/RelativeLayout;
    invoke-static {v2}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->access$1600(Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;)Landroid/widget/RelativeLayout;

    move-result-object v2

    if-eqz v2, :cond_54

    .line 1026
    iget-object v2, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;

    # getter for: Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->adBannerRelativeLayout:Landroid/widget/RelativeLayout;
    invoke-static {v2}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->access$1600(Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;)Landroid/widget/RelativeLayout;

    move-result-object v2

    invoke-virtual {v2, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    .line 1028
    :cond_54
    invoke-interface {v0}, Lcom/cm/plugincluster/ad/ui/IAdView;->show()V

    .line 1029
    iget-object v0, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->this$0:Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;

    iget v1, p0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController$5;->val$pageId:I

    const/4 v2, 0x2

    invoke-virtual {v0, v1, v2, v4}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertController;->reportCleanQuitAdData(IBB)V

    goto :goto_22
.end method