- 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
77 lines
2.1 KiB
Java
77 lines
2.1 KiB
Java
package com.google.android.ump;
|
|
|
|
import android.content.Context;
|
|
import androidx.annotation.RecentlyNonNull;
|
|
import com.google.android.gms.common.annotation.KeepForSdk;
|
|
import com.google.android.gms.internal.consent_sdk.zzcl;
|
|
import com.google.android.gms.internal.consent_sdk.zzct;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class ConsentDebugSettings {
|
|
public final boolean zza;
|
|
public final int zzb;
|
|
|
|
public static class Builder {
|
|
public final Context zzb;
|
|
public boolean zzd;
|
|
public final List zza = new ArrayList();
|
|
public int zzc = 0;
|
|
|
|
public Builder(@RecentlyNonNull Context context) {
|
|
this.zzb = context.getApplicationContext();
|
|
}
|
|
|
|
@RecentlyNonNull
|
|
public Builder addTestDeviceHashedId(@RecentlyNonNull String str) {
|
|
this.zza.add(str);
|
|
return this;
|
|
}
|
|
|
|
@RecentlyNonNull
|
|
public ConsentDebugSettings build() {
|
|
boolean z = true;
|
|
if (!zzct.zza(true) && !this.zza.contains(zzcl.zza(this.zzb)) && !this.zzd) {
|
|
z = false;
|
|
}
|
|
return new ConsentDebugSettings(z, this, null);
|
|
}
|
|
|
|
@RecentlyNonNull
|
|
public Builder setDebugGeography(int i) {
|
|
this.zzc = i;
|
|
return this;
|
|
}
|
|
|
|
@RecentlyNonNull
|
|
@KeepForSdk
|
|
public Builder setForceTesting(boolean z) {
|
|
this.zzd = z;
|
|
return this;
|
|
}
|
|
}
|
|
|
|
@Retention(RetentionPolicy.SOURCE)
|
|
public @interface DebugGeography {
|
|
public static final int DEBUG_GEOGRAPHY_DISABLED = 0;
|
|
public static final int DEBUG_GEOGRAPHY_EEA = 1;
|
|
public static final int DEBUG_GEOGRAPHY_NOT_EEA = 2;
|
|
}
|
|
|
|
public /* synthetic */ ConsentDebugSettings(boolean z, Builder builder, zza zzaVar) {
|
|
this.zza = z;
|
|
this.zzb = builder.zzc;
|
|
}
|
|
|
|
public int getDebugGeography() {
|
|
return this.zzb;
|
|
}
|
|
|
|
public boolean isTestDevice() {
|
|
return this.zza;
|
|
}
|
|
}
|