- 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
80 lines
2.8 KiB
Java
80 lines
2.8 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.text.TextUtils;
|
|
import com.google.common.util.concurrent.ListenableFuture;
|
|
import com.ironsource.v8;
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
import java.util.UUID;
|
|
import org.json.JSONException;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzbkf implements zzbjp {
|
|
private final Object zza = new Object();
|
|
private final Map zzb = new HashMap();
|
|
|
|
@Override // com.google.android.gms.internal.ads.zzbjp
|
|
public final void zza(Object obj, Map map) {
|
|
String str = (String) map.get("id");
|
|
String str2 = (String) map.get(v8.f.e);
|
|
String str3 = (String) map.get("fail_reason");
|
|
String str4 = (String) map.get("fail_stack");
|
|
String str5 = (String) map.get("result");
|
|
if (true == TextUtils.isEmpty(str4)) {
|
|
str3 = "Unknown Fail Reason.";
|
|
}
|
|
String concat = TextUtils.isEmpty(str4) ? "" : "\n".concat(String.valueOf(str4));
|
|
synchronized (this.zza) {
|
|
try {
|
|
zzbke zzbkeVar = (zzbke) this.zzb.remove(str);
|
|
if (zzbkeVar == null) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzj("Received result for unexpected method invocation: " + str);
|
|
return;
|
|
}
|
|
if (!TextUtils.isEmpty(str2)) {
|
|
zzbkeVar.zza(str3 + concat);
|
|
return;
|
|
}
|
|
if (str5 == null) {
|
|
zzbkeVar.zzb(null);
|
|
return;
|
|
}
|
|
try {
|
|
JSONObject jSONObject = new JSONObject(str5);
|
|
if (com.google.android.gms.ads.internal.util.zze.zzc()) {
|
|
com.google.android.gms.ads.internal.util.zze.zza("Result GMSG: " + jSONObject.toString(2));
|
|
}
|
|
zzbkeVar.zzb(jSONObject);
|
|
} catch (JSONException e) {
|
|
zzbkeVar.zza(e.getMessage());
|
|
}
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
|
|
public final ListenableFuture zzb(zzbmw zzbmwVar, String str, JSONObject jSONObject) {
|
|
zzcab zzcabVar = new zzcab();
|
|
com.google.android.gms.ads.internal.zzv.zzq();
|
|
String uuid = UUID.randomUUID().toString();
|
|
zzc(uuid, new zzbkd(this, zzcabVar));
|
|
try {
|
|
JSONObject jSONObject2 = new JSONObject();
|
|
jSONObject2.put("id", uuid);
|
|
jSONObject2.put("args", jSONObject);
|
|
zzbmwVar.zzl(str, jSONObject2);
|
|
} catch (Exception e) {
|
|
zzcabVar.zzd(e);
|
|
}
|
|
return zzcabVar;
|
|
}
|
|
|
|
public final void zzc(String str, zzbke zzbkeVar) {
|
|
synchronized (this.zza) {
|
|
this.zzb.put(str, zzbkeVar);
|
|
}
|
|
}
|
|
}
|