f.smali
.class Lcom/bumptech/glide/load/engine/b/f;
.super Ljava/lang/Object;
.source "InternalCacheDiskCacheFactory.java"
# interfaces
.implements Lcom/bumptech/glide/load/engine/b/d$a;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/bumptech/glide/load/engine/b/g;-><init>(Landroid/content/Context;Ljava/lang/String;J)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Landroid/content/Context;
.field final synthetic b:Ljava/lang/String;
# direct methods
.method constructor <init>(Landroid/content/Context;Ljava/lang/String;)V
.registers 3
.line 1
iput-object p1, p0, Lcom/bumptech/glide/load/engine/b/f;->a:Landroid/content/Context;
iput-object p2, p0, Lcom/bumptech/glide/load/engine/b/f;->b:Ljava/lang/String;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public getCacheDirectory()Ljava/io/File;
.registers 4
.line 1
iget-object v0, p0, Lcom/bumptech/glide/load/engine/b/f;->a:Landroid/content/Context;
invoke-virtual {v0}, Landroid/content/Context;->getCacheDir()Ljava/io/File;
move-result-object v0
if-nez v0, :cond_a
const/4 v0, 0x0
return-object v0
.line 2
:cond_a
iget-object v1, p0, Lcom/bumptech/glide/load/engine/b/f;->b:Ljava/lang/String;
if-eqz v1, :cond_14
.line 3
new-instance v2, Ljava/io/File;
invoke-direct {v2, v0, v1}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V
return-object v2
:cond_14
return-object v0
.end method