- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
103 lines
2.8 KiB
Java
103 lines
2.8 KiB
Java
package com.applovin.impl;
|
|
|
|
import android.net.Uri;
|
|
import android.text.TextUtils;
|
|
import java.io.File;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class f1 extends d1 {
|
|
private final String f;
|
|
private final com.applovin.impl.sdk.ad.b g;
|
|
private final List h;
|
|
private final boolean i;
|
|
private final u2 j;
|
|
private final com.applovin.impl.sdk.j k;
|
|
private final a l;
|
|
|
|
public interface a {
|
|
void a(Uri uri);
|
|
}
|
|
|
|
public f1(String str, com.applovin.impl.sdk.ad.b bVar, u2 u2Var, com.applovin.impl.sdk.j jVar, a aVar) {
|
|
this(str, bVar, bVar.X(), true, u2Var, jVar, aVar);
|
|
}
|
|
|
|
@Override // java.util.concurrent.Callable
|
|
/* renamed from: b, reason: merged with bridge method [inline-methods] */
|
|
public Boolean call() {
|
|
if (this.e.get()) {
|
|
return Boolean.FALSE;
|
|
}
|
|
String a2 = this.k.B().a(a(), this.f, this.g.getCachePrefix(), this.h, this.i, this.j, this.k.B().a(this.f, this.g));
|
|
if (TextUtils.isEmpty(a2)) {
|
|
a((Uri) null);
|
|
return Boolean.FALSE;
|
|
}
|
|
if (this.e.get()) {
|
|
return Boolean.FALSE;
|
|
}
|
|
File a3 = this.k.B().a(a2, a());
|
|
if (a3 == null) {
|
|
if (com.applovin.impl.sdk.n.a()) {
|
|
this.c.b(this.b, "Unable to retrieve File for cached filename = " + a2);
|
|
}
|
|
a((Uri) null);
|
|
return Boolean.FALSE;
|
|
}
|
|
if (this.e.get()) {
|
|
return Boolean.FALSE;
|
|
}
|
|
Uri fromFile = Uri.fromFile(a3);
|
|
if (fromFile == null) {
|
|
if (com.applovin.impl.sdk.n.a()) {
|
|
this.c.b(this.b, "Unable to extract Uri from file");
|
|
}
|
|
a((Uri) null);
|
|
return Boolean.FALSE;
|
|
}
|
|
if (this.e.get()) {
|
|
return Boolean.FALSE;
|
|
}
|
|
a(fromFile);
|
|
return Boolean.TRUE;
|
|
}
|
|
|
|
public f1(String str, com.applovin.impl.sdk.ad.b bVar, List list, boolean z, u2 u2Var, com.applovin.impl.sdk.j jVar, a aVar) {
|
|
super("AsyncTaskCacheResource", jVar);
|
|
this.f = str;
|
|
this.g = bVar;
|
|
this.h = list;
|
|
this.i = z;
|
|
this.j = u2Var;
|
|
this.k = jVar;
|
|
this.l = aVar;
|
|
}
|
|
|
|
private void a(Uri uri) {
|
|
a aVar;
|
|
if (this.e.get() || (aVar = this.l) == null) {
|
|
return;
|
|
}
|
|
aVar.a(uri);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || getClass() != obj.getClass()) {
|
|
return false;
|
|
}
|
|
return this.f.equals(((f1) obj).f);
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.f;
|
|
if (str != null) {
|
|
return str.hashCode();
|
|
}
|
|
return 0;
|
|
}
|
|
}
|