Files
rr3-apk/decompiled-community/sources/com/google/android/gms/internal/ads/zzfhh.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

156 lines
5.2 KiB
Java

package com.google.android.gms.internal.ads;
import android.os.Bundle;
import android.text.TextUtils;
import com.google.android.gms.ads.AdFormat;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
/* loaded from: classes3.dex */
public final class zzfhh implements Runnable {
private final zzfhk zzb;
private String zzc;
private String zze;
private zzfbz zzf;
private com.google.android.gms.ads.internal.client.zze zzg;
private Future zzh;
private final List zza = new ArrayList();
private int zzi = 2;
private zzfhm zzd = zzfhm.SCAR_REQUEST_TYPE_UNSPECIFIED;
public zzfhh(zzfhk zzfhkVar) {
this.zzb = zzfhkVar;
}
@Override // java.lang.Runnable
public final synchronized void run() {
zzh();
}
public final synchronized zzfhh zza(zzfgw zzfgwVar) {
try {
if (((Boolean) zzbee.zzc.zze()).booleanValue()) {
List list = this.zza;
zzfgwVar.zzj();
list.add(zzfgwVar);
Future future = this.zzh;
if (future != null) {
future.cancel(false);
}
this.zzh = zzbzw.zzd.schedule(this, ((Integer) com.google.android.gms.ads.internal.client.zzbe.zzc().zza(zzbcl.zziG)).intValue(), TimeUnit.MILLISECONDS);
}
} catch (Throwable th) {
throw th;
}
return this;
}
public final synchronized zzfhh zzb(String str) {
if (((Boolean) zzbee.zzc.zze()).booleanValue() && zzfhg.zze(str)) {
this.zzc = str;
}
return this;
}
public final synchronized zzfhh zzc(com.google.android.gms.ads.internal.client.zze zzeVar) {
if (((Boolean) zzbee.zzc.zze()).booleanValue()) {
this.zzg = zzeVar;
}
return this;
}
public final synchronized zzfhh zzd(ArrayList arrayList) {
try {
if (((Boolean) zzbee.zzc.zze()).booleanValue()) {
if (!arrayList.contains("banner") && !arrayList.contains(AdFormat.BANNER.name())) {
if (!arrayList.contains("interstitial") && !arrayList.contains(AdFormat.INTERSTITIAL.name())) {
if (!arrayList.contains("native") && !arrayList.contains(AdFormat.NATIVE.name())) {
if (!arrayList.contains("rewarded") && !arrayList.contains(AdFormat.REWARDED.name())) {
if (arrayList.contains("app_open_ad")) {
this.zzi = 7;
} else if (arrayList.contains("rewarded_interstitial") || arrayList.contains(AdFormat.REWARDED_INTERSTITIAL.name())) {
this.zzi = 6;
}
}
this.zzi = 5;
}
this.zzi = 8;
}
this.zzi = 4;
}
this.zzi = 3;
}
} catch (Throwable th) {
throw th;
}
return this;
}
public final synchronized zzfhh zze(String str) {
if (((Boolean) zzbee.zzc.zze()).booleanValue()) {
this.zze = str;
}
return this;
}
public final synchronized zzfhh zzf(Bundle bundle) {
if (((Boolean) zzbee.zzc.zze()).booleanValue()) {
this.zzd = com.google.android.gms.ads.nonagon.signalgeneration.zzaa.zza(bundle);
}
return this;
}
public final synchronized zzfhh zzg(zzfbz zzfbzVar) {
if (((Boolean) zzbee.zzc.zze()).booleanValue()) {
this.zzf = zzfbzVar;
}
return this;
}
public final synchronized void zzh() {
try {
if (((Boolean) zzbee.zzc.zze()).booleanValue()) {
Future future = this.zzh;
if (future != null) {
future.cancel(false);
}
for (zzfgw zzfgwVar : this.zza) {
int i = this.zzi;
if (i != 2) {
zzfgwVar.zzn(i);
}
if (!TextUtils.isEmpty(this.zzc)) {
zzfgwVar.zze(this.zzc);
}
if (!TextUtils.isEmpty(this.zze) && !zzfgwVar.zzl()) {
zzfgwVar.zzd(this.zze);
}
zzfbz zzfbzVar = this.zzf;
if (zzfbzVar != null) {
zzfgwVar.zzb(zzfbzVar);
} else {
com.google.android.gms.ads.internal.client.zze zzeVar = this.zzg;
if (zzeVar != null) {
zzfgwVar.zza(zzeVar);
}
}
zzfgwVar.zzf(this.zzd);
this.zzb.zzb(zzfgwVar.zzm());
}
this.zza.clear();
}
} catch (Throwable th) {
throw th;
}
}
public final synchronized zzfhh zzi(int i) {
if (((Boolean) zzbee.zzc.zze()).booleanValue()) {
this.zzi = i;
}
return this;
}
}