StcSDKLiteFactory.smali

.class public Lcom/pgl/sys/ces/out/StcSDKLiteFactory;
.super Ljava/lang/Object;


# static fields
.field private static a:Lcom/pgl/sys/ces/out/ISdkLite;


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

    const/4 v0, 0x0

    sput-object v0, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;->a:Lcom/pgl/sys/ces/out/ISdkLite;

    return-void
.end method

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

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

    return-void
.end method

.method public static getInstance()Lcom/pgl/sys/ces/out/ISdkLite;
    .registers 1

    sget-object v0, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;->a:Lcom/pgl/sys/ces/out/ISdkLite;

    return-object v0
.end method

.method public static getSDK(Landroid/content/Context;Ljava/lang/String;)Lcom/pgl/sys/ces/out/ISdkLite;
    .registers 5
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    sget-object v0, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;->a:Lcom/pgl/sys/ces/out/ISdkLite;

    if-nez v0, :cond_15

    const-class v1, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;

    monitor-enter v1

    :try_start_7
    sget-object v0, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;->a:Lcom/pgl/sys/ces/out/ISdkLite;

    if-nez v0, :cond_14

    const/16 v0, 0xff

    const/4 v2, 0x0

    invoke-static {p0, p1, v0, v2}, Lcom/pgl/sys/ces/b;->a(Landroid/content/Context;Ljava/lang/String;ILcom/pgl/sys/ces/out/ISdkInfo;)Lcom/pgl/sys/ces/b;

    move-result-object v0

    sput-object v0, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;->a:Lcom/pgl/sys/ces/out/ISdkLite;

    :cond_14
    monitor-exit v1
    :try_end_15
    .catchall {:try_start_7 .. :try_end_15} :catchall_18

    :cond_15
    sget-object v0, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;->a:Lcom/pgl/sys/ces/out/ISdkLite;

    return-object v0

    :catchall_18
    move-exception v0

    :try_start_19
    monitor-exit v1
    :try_end_1a
    .catchall {:try_start_19 .. :try_end_1a} :catchall_18

    throw v0
.end method

.method public static getSDK(Landroid/content/Context;Ljava/lang/String;I)Lcom/pgl/sys/ces/out/ISdkLite;
    .registers 5

    sget-object v0, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;->a:Lcom/pgl/sys/ces/out/ISdkLite;

    if-nez v0, :cond_13

    const-class v1, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;

    monitor-enter v1

    :try_start_7
    sget-object v0, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;->a:Lcom/pgl/sys/ces/out/ISdkLite;

    if-nez v0, :cond_12

    const/4 v0, 0x0

    invoke-static {p0, p1, p2, v0}, Lcom/pgl/sys/ces/b;->a(Landroid/content/Context;Ljava/lang/String;ILcom/pgl/sys/ces/out/ISdkInfo;)Lcom/pgl/sys/ces/b;

    move-result-object v0

    sput-object v0, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;->a:Lcom/pgl/sys/ces/out/ISdkLite;

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

    :cond_13
    sget-object v0, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;->a:Lcom/pgl/sys/ces/out/ISdkLite;

    return-object v0

    :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

.method public static getSDK(Landroid/content/Context;Ljava/lang/String;ILcom/pgl/sys/ces/out/ISdkInfo;)Lcom/pgl/sys/ces/out/ISdkLite;
    .registers 6

    sget-object v0, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;->a:Lcom/pgl/sys/ces/out/ISdkLite;

    if-nez v0, :cond_12

    const-class v1, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;

    monitor-enter v1

    :try_start_7
    sget-object v0, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;->a:Lcom/pgl/sys/ces/out/ISdkLite;

    if-nez v0, :cond_11

    invoke-static {p0, p1, p2, p3}, Lcom/pgl/sys/ces/b;->a(Landroid/content/Context;Ljava/lang/String;ILcom/pgl/sys/ces/out/ISdkInfo;)Lcom/pgl/sys/ces/b;

    move-result-object v0

    sput-object v0, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;->a:Lcom/pgl/sys/ces/out/ISdkLite;

    :cond_11
    monitor-exit v1
    :try_end_12
    .catchall {:try_start_7 .. :try_end_12} :catchall_15

    :cond_12
    sget-object v0, Lcom/pgl/sys/ces/out/StcSDKLiteFactory;->a:Lcom/pgl/sys/ces/out/ISdkLite;

    return-object v0

    :catchall_15
    move-exception v0

    :try_start_16
    monitor-exit v1
    :try_end_17
    .catchall {:try_start_16 .. :try_end_17} :catchall_15

    throw v0
.end method