- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
77 lines
2.7 KiB
Java
77 lines
2.7 KiB
Java
package com.google.android.gms.measurement.internal;
|
|
|
|
import android.os.Bundle;
|
|
import android.text.TextUtils;
|
|
import com.google.android.gms.common.internal.Preconditions;
|
|
import java.util.Iterator;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzay {
|
|
final String zza;
|
|
final String zzb;
|
|
final long zzc;
|
|
final long zzd;
|
|
final zzba zze;
|
|
private final String zzf;
|
|
|
|
public final zzay zza(zzhj zzhjVar, long j) {
|
|
return new zzay(zzhjVar, this.zzf, this.zza, this.zzb, this.zzc, j, this.zze);
|
|
}
|
|
|
|
public final String toString() {
|
|
return "Event{appId='" + this.zza + "', name='" + this.zzb + "', params=" + String.valueOf(this.zze) + "}";
|
|
}
|
|
|
|
public zzay(zzhj zzhjVar, String str, String str2, String str3, long j, long j2, Bundle bundle) {
|
|
zzba zzbaVar;
|
|
Preconditions.checkNotEmpty(str2);
|
|
Preconditions.checkNotEmpty(str3);
|
|
this.zza = str2;
|
|
this.zzb = str3;
|
|
this.zzf = TextUtils.isEmpty(str) ? null : str;
|
|
this.zzc = j;
|
|
this.zzd = j2;
|
|
if (j2 != 0 && j2 > j) {
|
|
zzhjVar.zzj().zzu().zza("Event created with reverse previous/current timestamps. appId", zzfw.zza(str2));
|
|
}
|
|
if (bundle != null && !bundle.isEmpty()) {
|
|
Bundle bundle2 = new Bundle(bundle);
|
|
Iterator<String> it = bundle2.keySet().iterator();
|
|
while (it.hasNext()) {
|
|
String next = it.next();
|
|
if (next == null) {
|
|
zzhjVar.zzj().zzg().zza("Param name can't be null");
|
|
it.remove();
|
|
} else {
|
|
Object zzb = zzhjVar.zzt().zzb(next, bundle2.get(next));
|
|
if (zzb == null) {
|
|
zzhjVar.zzj().zzu().zza("Param value can't be null", zzhjVar.zzk().zzb(next));
|
|
it.remove();
|
|
} else {
|
|
zzhjVar.zzt().zza(bundle2, next, zzb);
|
|
}
|
|
}
|
|
}
|
|
zzbaVar = new zzba(bundle2);
|
|
} else {
|
|
zzbaVar = new zzba(new Bundle());
|
|
}
|
|
this.zze = zzbaVar;
|
|
}
|
|
|
|
private zzay(zzhj zzhjVar, String str, String str2, String str3, long j, long j2, zzba zzbaVar) {
|
|
Preconditions.checkNotEmpty(str2);
|
|
Preconditions.checkNotEmpty(str3);
|
|
Preconditions.checkNotNull(zzbaVar);
|
|
this.zza = str2;
|
|
this.zzb = str3;
|
|
this.zzf = TextUtils.isEmpty(str) ? null : str;
|
|
this.zzc = j;
|
|
this.zzd = j2;
|
|
if (j2 != 0 && j2 > j) {
|
|
zzhjVar.zzj().zzu().zza("Event created with reverse previous/current timestamps. appId, name", zzfw.zza(str2), zzfw.zza(str3));
|
|
}
|
|
this.zze = zzbaVar;
|
|
}
|
|
}
|