NegativeScrennPluginDelegate.smali

.class public Lcom/cm/plugincluster/nagativescreen/plugin/NegativeScrennPluginDelegate;
.super Ljava/lang/Object;
.source "NegativeScrennPluginDelegate.java"


# static fields
.field private static sPluginModule:Lcom/cm/plugincluster/nagativescreen/plugin/INegativeScreenPluginModule;

.field private static sSimplePluginModule:Lcom/cm/plugincluster/nagativescreen/plugin/INegativeScreenPluginModule;


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

    .prologue
    .line 11
    new-instance v0, Lcom/cm/plugincluster/nagativescreen/plugin/DefaultNegativeScreenPluginModule;

    invoke-direct {v0}, Lcom/cm/plugincluster/nagativescreen/plugin/DefaultNegativeScreenPluginModule;-><init>()V

    sput-object v0, Lcom/cm/plugincluster/nagativescreen/plugin/NegativeScrennPluginDelegate;->sSimplePluginModule:Lcom/cm/plugincluster/nagativescreen/plugin/INegativeScreenPluginModule;

    return-void
.end method

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

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

    return-void
.end method

.method public static getModule()Lcom/cm/plugincluster/nagativescreen/plugin/INegativeScreenPluginModule;
    .registers 3

    .prologue
    .line 16
    const-class v1, Lcom/cm/plugincluster/nagativescreen/plugin/NegativeScrennPluginDelegate;

    monitor-enter v1

    .line 18
    :try_start_3
    sget-object v0, Lcom/cm/plugincluster/nagativescreen/plugin/NegativeScrennPluginDelegate;->sPluginModule:Lcom/cm/plugincluster/nagativescreen/plugin/INegativeScreenPluginModule;

    if-eqz v0, :cond_b

    .line 19
    sget-object v0, Lcom/cm/plugincluster/nagativescreen/plugin/NegativeScrennPluginDelegate;->sPluginModule:Lcom/cm/plugincluster/nagativescreen/plugin/INegativeScreenPluginModule;
    :try_end_9
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_9} :catch_21
    .catchall {:try_start_3 .. :try_end_9} :catchall_26

    :try_start_9
    monitor-exit v1
    :try_end_a
    .catchall {:try_start_9 .. :try_end_a} :catchall_26

    .line 31
    :goto_a
    return-object v0

    .line 21
    :cond_b
    const v0, 0x160001

    const/4 v2, 0x0

    :try_start_f
    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/nagativescreen/plugin/INegativeScreenPluginModule;

    sput-object v0, Lcom/cm/plugincluster/nagativescreen/plugin/NegativeScrennPluginDelegate;->sPluginModule:Lcom/cm/plugincluster/nagativescreen/plugin/INegativeScreenPluginModule;
    :try_end_19
    .catch Ljava/lang/Exception; {:try_start_f .. :try_end_19} :catch_21
    .catchall {:try_start_f .. :try_end_19} :catchall_26

    .line 25
    :goto_19
    :try_start_19
    monitor-exit v1
    :try_end_1a
    .catchall {:try_start_19 .. :try_end_1a} :catchall_26

    .line 26
    sget-object v0, Lcom/cm/plugincluster/nagativescreen/plugin/NegativeScrennPluginDelegate;->sPluginModule:Lcom/cm/plugincluster/nagativescreen/plugin/INegativeScreenPluginModule;

    if-nez v0, :cond_29

    .line 27
    sget-object v0, Lcom/cm/plugincluster/nagativescreen/plugin/NegativeScrennPluginDelegate;->sSimplePluginModule:Lcom/cm/plugincluster/nagativescreen/plugin/INegativeScreenPluginModule;

    goto :goto_a

    .line 22
    :catch_21
    move-exception v0

    .line 23
    :try_start_22
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_19

    .line 25
    :catchall_26
    move-exception v0

    monitor-exit v1
    :try_end_28
    .catchall {:try_start_22 .. :try_end_28} :catchall_26

    throw v0

    .line 29
    :cond_29
    sget-object v0, Lcom/cm/plugincluster/nagativescreen/plugin/NegativeScrennPluginDelegate;->sPluginModule:Lcom/cm/plugincluster/nagativescreen/plugin/INegativeScreenPluginModule;

    goto :goto_a
.end method