Files
rr3-apk/smali_classes3/com/google/android/ump/ConsentDebugSettings$Builder.smali
supermegamestre 4bbd74a497 First Upload
Just the APK
Force update disabled, will only work offline.
2026-01-26 00:26:29 -03:00

159 lines
4.2 KiB
Smali

.class public Lcom/google/android/ump/ConsentDebugSettings$Builder;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/ump/ConsentDebugSettings;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Builder"
.end annotation
# instance fields
.field public final zza:Ljava/util/List;
.field public final zzb:Landroid/content/Context;
.field public zzc:I
.field public zzd:Z
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lcom/google/android/ump/ConsentDebugSettings$Builder;->zza:Ljava/util/List;
const/4 v0, 0x0
iput v0, p0, Lcom/google/android/ump/ConsentDebugSettings$Builder;->zzc:I
.line 2
invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object p1
iput-object p1, p0, Lcom/google/android/ump/ConsentDebugSettings$Builder;->zzb:Landroid/content/Context;
return-void
.end method
.method public static bridge synthetic zza(Lcom/google/android/ump/ConsentDebugSettings$Builder;)I
.locals 0
iget p0, p0, Lcom/google/android/ump/ConsentDebugSettings$Builder;->zzc:I
return p0
.end method
# virtual methods
.method public addTestDeviceHashedId(Ljava/lang/String;)Lcom/google/android/ump/ConsentDebugSettings$Builder;
.locals 1
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
iget-object v0, p0, Lcom/google/android/ump/ConsentDebugSettings$Builder;->zza:Ljava/util/List;
.line 1
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
return-object p0
.end method
.method public build()Lcom/google/android/ump/ConsentDebugSettings;
.locals 3
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
const/4 v0, 0x1
.line 1
invoke-static {v0}, Lcom/google/android/gms/internal/consent_sdk/zzct;->zza(Z)Z
move-result v1
if-nez v1, :cond_2
iget-object v1, p0, Lcom/google/android/ump/ConsentDebugSettings$Builder;->zza:Ljava/util/List;
iget-object v2, p0, Lcom/google/android/ump/ConsentDebugSettings$Builder;->zzb:Landroid/content/Context;
.line 2
invoke-static {v2}, Lcom/google/android/gms/internal/consent_sdk/zzcl;->zza(Landroid/content/Context;)Ljava/lang/String;
move-result-object v2
invoke-interface {v1, v2}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
goto :goto_0
:cond_0
iget-boolean v1, p0, Lcom/google/android/ump/ConsentDebugSettings$Builder;->zzd:Z
if-eqz v1, :cond_1
goto :goto_0
:cond_1
const/4 v0, 0x0
:cond_2
:goto_0
new-instance v1, Lcom/google/android/ump/ConsentDebugSettings;
const/4 v2, 0x0
invoke-direct {v1, v0, p0, v2}, Lcom/google/android/ump/ConsentDebugSettings;-><init>(ZLcom/google/android/ump/ConsentDebugSettings$Builder;Lcom/google/android/ump/zza;)V
return-object v1
.end method
.method public setDebugGeography(I)Lcom/google/android/ump/ConsentDebugSettings$Builder;
.locals 0
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
iput p1, p0, Lcom/google/android/ump/ConsentDebugSettings$Builder;->zzc:I
return-object p0
.end method
.method public setForceTesting(Z)Lcom/google/android/ump/ConsentDebugSettings$Builder;
.locals 0
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
iput-boolean p1, p0, Lcom/google/android/ump/ConsentDebugSettings$Builder;->zzd:Z
return-object p0
.end method