c.smali

.class public Lcom/fulishe/fs/c;
.super Ljava/lang/Object;
.source ""


# static fields
.field public static volatile a:Lcom/fulishe/fs/c;


# instance fields
.field public b:Landroid/app/Application;

.field public final c:Ljava/lang/Object;

.field public volatile d:Lcom/fulishe/fs/j;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .registers 3

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

    new-instance v0, Ljava/lang/Object;

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

    iput-object v0, p0, Lcom/fulishe/fs/c;->c:Ljava/lang/Object;

    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Application;

    iput-object v0, p0, Lcom/fulishe/fs/c;->b:Landroid/app/Application;

    return-void
.end method

.method public static a(Landroid/content/Context;)Lcom/fulishe/fs/c;
    .registers 3

    sget-object v0, Lcom/fulishe/fs/c;->a:Lcom/fulishe/fs/c;

    if-nez v0, :cond_13

    const-class v1, Lcom/fulishe/fs/c;

    monitor-enter v1

    :try_start_7
    sget-object v0, Lcom/fulishe/fs/c;->a:Lcom/fulishe/fs/c;

    if-nez v0, :cond_12

    new-instance v0, Lcom/fulishe/fs/c;

    invoke-direct {v0, p0}, Lcom/fulishe/fs/c;-><init>(Landroid/content/Context;)V

    sput-object v0, Lcom/fulishe/fs/c;->a:Lcom/fulishe/fs/c;

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

    :cond_13
    sget-object v0, Lcom/fulishe/fs/c;->a:Lcom/fulishe/fs/c;

    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


# virtual methods
.method public a()Lcom/fulishe/fs/j;
    .registers 3

    iget-object v0, p0, Lcom/fulishe/fs/c;->d:Lcom/fulishe/fs/j;

    if-nez v0, :cond_13

    iget-object v1, p0, Lcom/fulishe/fs/c;->c:Ljava/lang/Object;

    monitor-enter v1

    :try_start_7
    iget-object v0, p0, Lcom/fulishe/fs/c;->d:Lcom/fulishe/fs/j;

    if-nez v0, :cond_12

    new-instance v0, Lcom/fulishe/fs/n/h;

    invoke-direct {v0}, Lcom/fulishe/fs/n/h;-><init>()V

    iput-object v0, p0, Lcom/fulishe/fs/c;->d:Lcom/fulishe/fs/j;

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

    :cond_13
    iget-object v0, p0, Lcom/fulishe/fs/c;->d:Lcom/fulishe/fs/j;

    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 a(Lcom/fulishe/fs/a;)V
    .registers 3

    iget-object v0, p0, Lcom/fulishe/fs/c;->b:Landroid/app/Application;

    invoke-static {v0, p1}, Lcom/fulishe/fs/k/ag;->a(Landroid/app/Application;Lcom/fulishe/fs/a;)V

    return-void
.end method