a.smali

.class public Lcom/cleanmaster/notificationclean/b/a;
.super Ljava/lang/Object;
.source "NotificationCleanPluginDelegate.java"


# static fields
.field private static a:Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;


# direct methods
.method public constructor <init>()V
    .registers 1

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

    return-void
.end method

.method public static a()Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;
    .registers 2

    .prologue
    .line 17
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x12

    if-ge v0, v1, :cond_b

    .line 18
    invoke-static {}, Lcom/cleanmaster/notificationclean/b/a;->c()Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;

    move-result-object v0

    .line 20
    :goto_a
    return-object v0

    :cond_b
    invoke-static {}, Lcom/cleanmaster/notificationclean/b/a;->b()Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;

    move-result-object v0

    goto :goto_a
.end method

.method private static b()Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;
    .registers 3

    .prologue
    .line 24
    sget-object v0, Lcom/cleanmaster/notificationclean/b/a;->a:Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;

    if-nez v0, :cond_1a

    .line 25
    const-class v1, Lcom/cleanmaster/notificationclean/b/a;

    monitor-enter v1

    .line 26
    :try_start_7
    sget-object v0, Lcom/cleanmaster/notificationclean/b/a;->a:Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;

    if-nez v0, :cond_19

    .line 27
    const v0, 0x208001

    const/4 v2, 0x0

    new-array v2, v2, [Ljava/lang/Object;

    invoke-static {v0, v2}, Lcom/cm/plugincluster/spec/CommanderManager;->invokeCommandExpNull(I[Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;

    sput-object v0, Lcom/cleanmaster/notificationclean/b/a;->a:Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;

    .line 29
    :cond_19
    monitor-exit v1
    :try_end_1a
    .catchall {:try_start_7 .. :try_end_1a} :catchall_24

    .line 31
    :cond_1a
    sget-object v0, Lcom/cleanmaster/notificationclean/b/a;->a:Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;

    if-nez v0, :cond_27

    .line 32
    new-instance v0, Lcom/cleanmaster/notificationclean/b/b;

    invoke-direct {v0}, Lcom/cleanmaster/notificationclean/b/b;-><init>()V

    .line 34
    :goto_23
    return-object v0

    .line 29
    :catchall_24
    move-exception v0

    :try_start_25
    monitor-exit v1
    :try_end_26
    .catchall {:try_start_25 .. :try_end_26} :catchall_24

    throw v0

    .line 34
    :cond_27
    sget-object v0, Lcom/cleanmaster/notificationclean/b/a;->a:Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;

    goto :goto_23
.end method

.method private static c()Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;
    .registers 2

    .prologue
    .line 38
    sget-object v0, Lcom/cleanmaster/notificationclean/b/a;->a:Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;

    if-nez v0, :cond_13

    .line 39
    const-class v1, Lcom/cleanmaster/notificationclean/b/a;

    monitor-enter v1

    .line 40
    :try_start_7
    sget-object v0, Lcom/cleanmaster/notificationclean/b/a;->a:Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;

    if-nez v0, :cond_12

    .line 41
    new-instance v0, Lcom/cleanmaster/notificationclean/b/b;

    invoke-direct {v0}, Lcom/cleanmaster/notificationclean/b/b;-><init>()V

    sput-object v0, Lcom/cleanmaster/notificationclean/b/a;->a:Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;

    .line 43
    :cond_12
    monitor-exit v1
    :try_end_13
    .catchall {:try_start_7 .. :try_end_13} :catchall_16

    .line 45
    :cond_13
    sget-object v0, Lcom/cleanmaster/notificationclean/b/a;->a:Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;

    return-object v0

    .line 43
    :catchall_16
    move-exception v0

    :try_start_17
    monitor-exit v1
    :try_end_18
    .catchall {:try_start_17 .. :try_end_18} :catchall_16

    throw v0
.end method