what-the-bank/sources/com/google/android/gms/internal/measurement/zzv.java

34 lines
1.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.measurement;
import java.util.List;
/* loaded from: classes.dex */
public final class zzv extends zzai {
private final zzz zza;
public zzv(zzz zzzVar) {
super("internal.registerCallback");
this.zza = zzzVar;
}
@Override // com.google.android.gms.internal.measurement.zzai
public final zzap zza(zzg zzgVar, List<zzap> list) {
zzh.zzh(this.zzd, 3, list);
String zzi = zzgVar.zzb(list.get(0)).zzi();
zzap zzb = zzgVar.zzb(list.get(1));
if (!(zzb instanceof zzao)) {
throw new IllegalArgumentException("Invalid callback type");
}
zzap zzb2 = zzgVar.zzb(list.get(2));
if (!(zzb2 instanceof zzam)) {
throw new IllegalArgumentException("Invalid callback params");
}
zzam zzamVar = (zzam) zzb2;
if (!zzamVar.zzt("type")) {
throw new IllegalArgumentException("Undefined rule type");
}
this.zza.zza(zzi, zzamVar.zzt("priority") ? zzh.zzb(zzamVar.zzf("priority").zzh().doubleValue()) : 1000, (zzao) zzb, zzamVar.zzf("type").zzi());
return zzap.zzf;
}
}