discord-jadx/app/src/main/java/b/f/j/e/c.java

26 lines
904 B
Java
Raw Normal View History

2021-12-17 22:01:24 +00:00
package b.f.j.e;
2021-12-17 22:01:24 +00:00
import b.f.b.b.d;
import b.f.b.b.e;
import b.f.b.b.h;
import com.facebook.cache.disk.DiskCacheConfig;
import java.util.Objects;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
2022-03-01 22:12:19 +00:00
/* compiled from: DiskStorageCacheFactory.java */
/* loaded from: classes2.dex */
public class c implements f {
public d a;
public c(d dVar) {
this.a = dVar;
}
public h a(DiskCacheConfig diskCacheConfig) {
Objects.requireNonNull(this.a);
2022-03-11 01:20:22 +00:00
e eVar = new e(diskCacheConfig.a, diskCacheConfig.c, diskCacheConfig.f2855b, diskCacheConfig.h);
ExecutorService newSingleThreadExecutor = Executors.newSingleThreadExecutor();
return new d(eVar, diskCacheConfig.g, new d.c(diskCacheConfig.f, diskCacheConfig.e, diskCacheConfig.d), diskCacheConfig.i, diskCacheConfig.h, diskCacheConfig.j, newSingleThreadExecutor, false);
}
}