Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzeqo.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

61 lines
2.7 KiB
Java

package com.google.android.gms.internal.ads;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import com.google.common.util.concurrent.ListenableFuture;
import java.util.concurrent.Callable;
/* loaded from: classes3.dex */
public final class zzeqo implements zzetr {
private final Context zza;
private final zzgcs zzb;
public zzeqo(Context context, zzgcs zzgcsVar) {
this.zza = context;
this.zzb = zzgcsVar;
}
@Override // com.google.android.gms.internal.ads.zzetr
public final int zza() {
return 18;
}
@Override // com.google.android.gms.internal.ads.zzetr
public final ListenableFuture zzb() {
return this.zzb.zzb(new Callable() { // from class: com.google.android.gms.internal.ads.zzeql
@Override // java.util.concurrent.Callable
public final Object call() {
return zzeqo.this.zzc();
}
});
}
public final /* synthetic */ zzeqm zzc() throws Exception {
Bundle bundle;
com.google.android.gms.ads.internal.zzv.zzq();
String string = !((Boolean) com.google.android.gms.ads.internal.client.zzbe.zzc().zza(zzbcl.zzfU)).booleanValue() ? "" : this.zza.getSharedPreferences("mobileads_consent", 0).getString("consent_string", "");
String string2 = ((Boolean) com.google.android.gms.ads.internal.client.zzbe.zzc().zza(zzbcl.zzfW)).booleanValue() ? this.zza.getSharedPreferences("mobileads_consent", 0).getString("fc_consent", "") : "";
com.google.android.gms.ads.internal.zzv.zzq();
Context context = this.zza;
if (((Boolean) com.google.android.gms.ads.internal.client.zzbe.zzc().zza(zzbcl.zzfV)).booleanValue()) {
SharedPreferences defaultSharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);
bundle = new Bundle();
if (defaultSharedPreferences.contains("IABConsent_CMPPresent")) {
bundle.putBoolean("IABConsent_CMPPresent", defaultSharedPreferences.getBoolean("IABConsent_CMPPresent", false));
}
String[] strArr = {"IABConsent_SubjectToGDPR", "IABConsent_ConsentString", "IABConsent_ParsedPurposeConsents", "IABConsent_ParsedVendorConsents"};
for (int i = 0; i < 4; i++) {
String str = strArr[i];
if (defaultSharedPreferences.contains(str)) {
bundle.putString(str, defaultSharedPreferences.getString(str, null));
}
}
} else {
bundle = null;
}
return new zzeqm(string, string2, bundle, null);
}
}