- 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
139 lines
4.6 KiB
Java
139 lines
4.6 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.location.Location;
|
|
import android.os.Bundle;
|
|
import com.fyber.inneractive.sdk.external.InneractiveMediationDefs;
|
|
import com.ironsource.v8;
|
|
import csdk.gluads.Consts;
|
|
import java.util.ArrayList;
|
|
import java.util.Arrays;
|
|
import java.util.HashSet;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import java.util.TreeSet;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzfeh implements zzfeg {
|
|
private final Object[] zza;
|
|
|
|
public zzfeh(com.google.android.gms.ads.internal.client.zzm zzmVar, String str, int i, String str2, com.google.android.gms.ads.internal.client.zzy zzyVar) {
|
|
HashSet hashSet = new HashSet(Arrays.asList(str2.split(",")));
|
|
ArrayList arrayList = new ArrayList();
|
|
arrayList.add(str2);
|
|
arrayList.add(str);
|
|
if (hashSet.contains("networkType")) {
|
|
arrayList.add(Integer.valueOf(i));
|
|
}
|
|
if (hashSet.contains("birthday")) {
|
|
arrayList.add(Long.valueOf(zzmVar.zzb));
|
|
}
|
|
if (hashSet.contains("extras")) {
|
|
arrayList.add(zza(zzmVar.zzc));
|
|
} else if (hashSet.contains("npa")) {
|
|
arrayList.add(zzmVar.zzc.getString("npa"));
|
|
}
|
|
if (hashSet.contains(InneractiveMediationDefs.KEY_GENDER)) {
|
|
arrayList.add(Integer.valueOf(zzmVar.zzd));
|
|
}
|
|
if (hashSet.contains(Consts.EXTRA_KEYWORDS)) {
|
|
List list = zzmVar.zze;
|
|
if (list != null) {
|
|
arrayList.add(list.toString());
|
|
} else {
|
|
arrayList.add(null);
|
|
}
|
|
}
|
|
if (hashSet.contains("isTestDevice")) {
|
|
arrayList.add(Boolean.valueOf(zzmVar.zzf));
|
|
}
|
|
if (hashSet.contains("tagForChildDirectedTreatment")) {
|
|
arrayList.add(Integer.valueOf(zzmVar.zzg));
|
|
}
|
|
if (hashSet.contains("manualImpressionsEnabled")) {
|
|
arrayList.add(Boolean.valueOf(zzmVar.zzh));
|
|
}
|
|
if (hashSet.contains("publisherProvidedId")) {
|
|
arrayList.add(zzmVar.zzi);
|
|
}
|
|
if (hashSet.contains("location")) {
|
|
Location location = zzmVar.zzk;
|
|
if (location != null) {
|
|
arrayList.add(location.toString());
|
|
} else {
|
|
arrayList.add(null);
|
|
}
|
|
}
|
|
if (hashSet.contains("contentUrl")) {
|
|
arrayList.add(zzmVar.zzl);
|
|
}
|
|
if (hashSet.contains("networkExtras")) {
|
|
arrayList.add(zza(zzmVar.zzm));
|
|
}
|
|
if (hashSet.contains("customTargeting")) {
|
|
arrayList.add(zza(zzmVar.zzn));
|
|
}
|
|
if (hashSet.contains("categoryExclusions")) {
|
|
List list2 = zzmVar.zzo;
|
|
if (list2 != null) {
|
|
arrayList.add(list2.toString());
|
|
} else {
|
|
arrayList.add(null);
|
|
}
|
|
}
|
|
if (hashSet.contains("requestAgent")) {
|
|
arrayList.add(zzmVar.zzp);
|
|
}
|
|
if (hashSet.contains("requestPackage")) {
|
|
arrayList.add(zzmVar.zzq);
|
|
}
|
|
if (hashSet.contains("isDesignedForFamilies")) {
|
|
arrayList.add(Boolean.valueOf(zzmVar.zzr));
|
|
}
|
|
if (hashSet.contains("tagForUnderAgeOfConsent")) {
|
|
arrayList.add(Integer.valueOf(zzmVar.zzt));
|
|
}
|
|
if (hashSet.contains("maxAdContentRating")) {
|
|
arrayList.add(zzmVar.zzu);
|
|
}
|
|
if (hashSet.contains("orientation")) {
|
|
if (zzyVar != null) {
|
|
arrayList.add(Integer.valueOf(zzyVar.zza));
|
|
} else {
|
|
arrayList.add(null);
|
|
}
|
|
}
|
|
this.zza = arrayList.toArray();
|
|
}
|
|
|
|
private static String zza(Bundle bundle) {
|
|
if (bundle == null) {
|
|
return null;
|
|
}
|
|
StringBuilder sb = new StringBuilder();
|
|
Iterator it = new TreeSet(bundle.keySet()).iterator();
|
|
while (it.hasNext()) {
|
|
Object obj = bundle.get((String) it.next());
|
|
sb.append(obj == null ? "null" : obj instanceof Bundle ? zza((Bundle) obj) : obj.toString());
|
|
}
|
|
return sb.toString();
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.ads.zzfeg
|
|
public final boolean equals(Object obj) {
|
|
if (obj instanceof zzfeh) {
|
|
return Arrays.equals(this.zza, ((zzfeh) obj).zza);
|
|
}
|
|
return false;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.ads.zzfeg
|
|
public final int hashCode() {
|
|
return Arrays.hashCode(this.zza);
|
|
}
|
|
|
|
public final String toString() {
|
|
Object[] objArr = this.zza;
|
|
return "[PoolKey#" + Arrays.hashCode(objArr) + " " + Arrays.toString(objArr) + v8.i.e;
|
|
}
|
|
}
|