what-the-bank/sources/com/google/android/gms/internal/p002firebaseauthapi/zztu.java

66 lines
2.0 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.p002firebaseauthapi;
import android.text.TextUtils;
import com.google.firebase.auth.zze;
import java.util.List;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes2.dex */
public final class zztu implements zzyg {
final zzyf zza;
final String zzb;
final String zzc;
final Boolean zzd;
final zze zze;
final zzxa zzf;
final zzzy zzg;
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzyf
public final void zza(String str) {
this.zza.zza(str);
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzyg
public final /* synthetic */ void zzb(Object obj) {
List zzb = ((zzzp) obj).zzb();
if (zzb == null || zzb.isEmpty()) {
this.zza.zza("No users.");
return;
}
int i = 0;
zzzr zzzrVar = (zzzr) zzb.get(0);
zzaag zzl = zzzrVar.zzl();
List zzc = zzl != null ? zzl.zzc() : null;
if (zzc != null && !zzc.isEmpty()) {
if (TextUtils.isEmpty(this.zzb)) {
((zzaae) zzc.get(0)).zzh(this.zzc);
} else {
while (true) {
if (i >= zzc.size()) {
break;
}
if (((zzaae) zzc.get(i)).zzf().equals(this.zzb)) {
((zzaae) zzc.get(i)).zzh(this.zzc);
break;
}
i++;
}
}
}
zzzrVar.zzh(this.zzd.booleanValue());
zzzrVar.zze(this.zze);
this.zzf.zzi(this.zzg, zzzrVar);
}
/* JADX INFO: Access modifiers changed from: package-private */
public zztu(zzvf zzvfVar, zzyf zzyfVar, String str, String str2, Boolean bool, zze zzeVar, zzxa zzxaVar, zzzy zzzyVar) {
this.zza = zzyfVar;
this.zzb = str;
this.zzc = str2;
this.zzd = bool;
this.zze = zzeVar;
this.zzf = zzxaVar;
this.zzg = zzzyVar;
}
}