mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-12-06 12:29:32 +01:00
25 lines
1.4 KiB
Java
25 lines
1.4 KiB
Java
package com.amazon.tarazed.sessionclient.sessioncache;
|
|
|
|
import android.content.Context;
|
|
import androidx.core.os.ParcelCompat$$ExternalSyntheticOutline0;
|
|
import java.io.File;
|
|
import kotlin.Metadata;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0016\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\b¨\u0006\t"}, d2 = {"Lcom/amazon/tarazed/sessionclient/sessioncache/CacheHelper;", "", "()V", "exists", "", "context", "Landroid/content/Context;", "fileName", "", "TarazedAndroidLibrary_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
|
/* loaded from: classes19.dex */
|
|
public final class CacheHelper {
|
|
|
|
@NotNull
|
|
public static final CacheHelper INSTANCE = new CacheHelper();
|
|
|
|
private CacheHelper() {
|
|
}
|
|
|
|
public final boolean exists(@NotNull Context context, @NotNull String fileName) {
|
|
context.getClass();
|
|
fileName.getClass();
|
|
return new File(ParcelCompat$$ExternalSyntheticOutline0.m(context.getCacheDir().getAbsolutePath(), "/", fileName, "/", fileName)).exists();
|
|
}
|
|
}
|