b.smali

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


# static fields
.field public static a:Landroid/content/Context;

.field public static b:Lcom/fulishe/fs/newvideo/cache/a;


# direct methods
.method public static a()Landroid/content/Context;
    .registers 1

    sget-object v0, Lcom/fulishe/fs/c/b;->a:Landroid/content/Context;

    return-object v0
.end method

.method public static a(Landroid/content/Context;)V
    .registers 1

    sput-object p0, Lcom/fulishe/fs/c/b;->a:Landroid/content/Context;

    return-void
.end method

.method public static b()Lcom/fulishe/fs/newvideo/cache/a;
    .registers 2

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

    if-eqz v0, :cond_5

    :goto_4
    return-object v0

    :cond_5
    new-instance v0, Lcom/fulishe/fs/newvideo/cache/a$a;

    sget-object v1, Lcom/fulishe/fs/c/b;->a:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/fulishe/fs/newvideo/cache/a$a;-><init>(Landroid/content/Context;)V

    invoke-static {}, Lcom/fulishe/fs/c/b;->c()Ljava/io/File;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/fulishe/fs/newvideo/cache/a$a;->a(Ljava/io/File;)Lcom/fulishe/fs/newvideo/cache/a$a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/fulishe/fs/newvideo/cache/a$a;->a()Lcom/fulishe/fs/newvideo/cache/a;

    move-result-object v0

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

    goto :goto_4
.end method

.method public static c()Ljava/io/File;
    .registers 3

    new-instance v0, Ljava/io/File;

    sget-object v1, Lcom/fulishe/fs/c/b;->a:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getCacheDir()Ljava/io/File;

    move-result-object v1

    const-string v2, "video-cache"

    invoke-direct {v0, v1, v2}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V

    return-object v0
.end method

.method public static d()Z
    .registers 1

    const/4 v0, 0x1

    return v0
.end method