76 lines
1.5 KiB
Smali
76 lines
1.5 KiB
Smali
.class public Lw4/f$a;
|
|
.super Ljava/lang/Object;
|
|
.source "ExternalCacheDiskCacheFactory.java"
|
|
|
|
# interfaces
|
|
.implements Lw4/d$c;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lw4/f;-><init>(Landroid/content/Context;Ljava/lang/String;I)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic a:Landroid/content/Context;
|
|
|
|
.field public final synthetic b:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lw4/f$a;->a:Landroid/content/Context;
|
|
|
|
iput-object p2, p0, Lw4/f$a;->b:Ljava/lang/String;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Ljava/io/File;
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lw4/f$a;->a:Landroid/content/Context;
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getExternalCacheDir()Ljava/io/File;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget-object v1, p0, Lw4/f$a;->b:Ljava/lang/String;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 3
|
|
new-instance v1, Ljava/io/File;
|
|
|
|
iget-object v2, p0, Lw4/f$a;->b:Ljava/lang/String;
|
|
|
|
invoke-direct {v1, v0, v2}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V
|
|
|
|
return-object v1
|
|
|
|
:cond_1
|
|
return-object v0
|
|
.end method
|