b.smali
.class public final Lea/b;
.super Ljava/lang/Object;
.source "PathProviders.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0008\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0010\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\u000cH\u0002J\u0010\u0010\r\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\u000cH\u0002R\u001b\u0010\u0003\u001a\u00020\u00048FX\u0086\u0084\u0002\u00a2\u0006\u000c\n\u0004\u0008\u0007\u0010\u0008\u001a\u0004\u0008\u0005\u0010\u0006\u00a8\u0006\u000e"
}
d2 = {
"Lcom/shopee/android/filecache/service/path/PathProviders;",
"",
"()V",
"DEFAULT",
"Lcom/shopee/android/filecache/service/path/PathProvider;",
"getDEFAULT",
"()Lcom/shopee/android/filecache/service/path/PathProvider;",
"DEFAULT$delegate",
"Lkotlin/Lazy;",
"getCachePath",
"Ljava/io/File;",
"context",
"Landroid/content/Context;",
"getFilePath",
"file-cache_release"
}
k = 0x1
mv = {
0x1,
0x4,
0x2
}
.end annotation
# static fields
.field public static final a:Lkotlin/Lazy;
.field public static final b:Lea/b;
# direct methods
.method public static constructor <clinit>()V
.registers 1
new-instance v0, Lea/b;
invoke-direct {v0}, Lea/b;-><init>()V
sput-object v0, Lea/b;->b:Lea/b;
sget-object v0, Lea/b$a;->a:Lea/b$a;
invoke-static {v0}, Lkotlin/LazyKt__LazyJVMKt;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
move-result-object v0
sput-object v0, Lea/b;->a:Lkotlin/Lazy;
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 final synthetic a(Lea/b;Landroid/content/Context;)Ljava/io/File;
.registers 2
invoke-virtual {p0, p1}, Lea/b;->a(Landroid/content/Context;)Ljava/io/File;
move-result-object p0
return-object p0
.end method
.method public static final synthetic b(Lea/b;Landroid/content/Context;)Ljava/io/File;
.registers 2
invoke-virtual {p0, p1}, Lea/b;->b(Landroid/content/Context;)Ljava/io/File;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final a()Lea/a;
.registers 2
sget-object v0, Lea/b;->a:Lkotlin/Lazy;
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lea/a;
return-object v0
.end method
.method public final a(Landroid/content/Context;)Ljava/io/File;
.registers 3
:try_start_0
invoke-virtual {p1}, Landroid/content/Context;->getExternalCacheDir()Ljava/io/File;
move-result-object v0
:try_end_4
.catchall {:try_start_0 .. :try_end_4} :catchall_5
goto :goto_6
:catchall_5
const/4 v0, 0x0
:goto_6
if-eqz v0, :cond_9
goto :goto_12
:cond_9
invoke-virtual {p1}, Landroid/content/Context;->getCacheDir()Ljava/io/File;
move-result-object v0
const-string p1, "context.cacheDir"
invoke-static {v0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
:goto_12
return-object v0
.end method
.method public final b(Landroid/content/Context;)Ljava/io/File;
.registers 3
const/4 v0, 0x0
:try_start_1
invoke-virtual {p1, v0}, Landroid/content/Context;->getExternalFilesDir(Ljava/lang/String;)Ljava/io/File;
move-result-object v0
:try_end_5
.catchall {:try_start_1 .. :try_end_5} :catchall_6
goto :goto_7
:catchall_6
nop
:goto_7
if-eqz v0, :cond_a
goto :goto_13
:cond_a
invoke-virtual {p1}, Landroid/content/Context;->getFilesDir()Ljava/io/File;
move-result-object v0
const-string p1, "context.filesDir"
invoke-static {v0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
:goto_13
return-object v0
.end method