CMNativeAdLoadEventDepot.smali

.class public Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;
.super Ljava/lang/Object;
.source "CMNativeAdLoadEventDepot.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot$AdLoadEventListener;
    }
.end annotation


# static fields
.field private static b:Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;


# instance fields
.field private a:Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot$AdLoadEventListener;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .prologue
    .line 19
    const/4 v0, 0x0

    sput-object v0, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;->b:Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;

    return-void
.end method

.method private constructor <init>()V
    .registers 1

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

    return-void
.end method

.method public static a()Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;
    .registers 2

    .prologue
    .line 22
    sget-object v0, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;->b:Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;

    if-eqz v0, :cond_7

    .line 23
    sget-object v0, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;->b:Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;

    .line 30
    :goto_6
    return-object v0

    .line 24
    :cond_7
    const-class v1, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;

    monitor-enter v1

    .line 25
    :try_start_a
    sget-object v0, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;->b:Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;

    if-eqz v0, :cond_15

    .line 26
    sget-object v0, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;->b:Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;

    monitor-exit v1

    goto :goto_6

    .line 28
    :catchall_12
    move-exception v0

    monitor-exit v1
    :try_end_14
    .catchall {:try_start_a .. :try_end_14} :catchall_12

    throw v0

    .line 27
    :cond_15
    :try_start_15
    new-instance v0, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;

    invoke-direct {v0}, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;-><init>()V

    sput-object v0, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;->b:Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;

    .line 28
    monitor-exit v1
    :try_end_1d
    .catchall {:try_start_15 .. :try_end_1d} :catchall_12

    .line 30
    sget-object v0, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;->b:Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;

    goto :goto_6
.end method


# virtual methods
.method public a(Ljava/lang/Object;)V
    .registers 3

    .prologue
    .line 38
    iget-object v0, p0, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;->a:Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot$AdLoadEventListener;

    if-eqz v0, :cond_b

    .line 39
    iget-object v0, p0, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;->a:Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot$AdLoadEventListener;

    check-cast p1, Lcom/cm/plugincluster/ordinary/interfaces/ICMCMNativeAdLoader;

    invoke-interface {v0, p1}, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot$AdLoadEventListener;->onAdLoadSuccess(Lcom/cm/plugincluster/ordinary/interfaces/ICMCMNativeAdLoader;)V

    .line 41
    :cond_b
    return-void
.end method

.method public a(Ljava/lang/Object;I)V
    .registers 4

    .prologue
    .line 44
    iget-object v0, p0, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;->a:Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot$AdLoadEventListener;

    if-eqz v0, :cond_b

    .line 45
    iget-object v0, p0, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot;->a:Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot$AdLoadEventListener;

    check-cast p1, Lcom/cm/plugincluster/ordinary/interfaces/ICMCMNativeAdLoader;

    invoke-interface {v0, p1, p2}, Lcom/cleanmaster/base/plugin/CMNativeAdLoadEventDepot$AdLoadEventListener;->onAdLoadFailed(Lcom/cm/plugincluster/ordinary/interfaces/ICMCMNativeAdLoader;I)V

    .line 47
    :cond_b
    return-void
.end method