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

51 lines
2.2 KiB
Java

package com.google.android.gms.measurement.internal;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
/* loaded from: classes.dex */
public final class zzau implements Parcelable.Creator<zzat> {
/* JADX INFO: Access modifiers changed from: package-private */
public static void zza(zzat zzatVar, Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeString(parcel, 2, zzatVar.zza, false);
SafeParcelWriter.writeParcelable(parcel, 3, zzatVar.zzb, i, false);
SafeParcelWriter.writeString(parcel, 4, zzatVar.zzc, false);
SafeParcelWriter.writeLong(parcel, 5, zzatVar.zzd);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ zzat createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
String str = null;
zzar zzarVar = null;
String str2 = null;
long j = 0;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 2) {
str = SafeParcelReader.createString(parcel, readHeader);
} else if (fieldId == 3) {
zzarVar = (zzar) SafeParcelReader.createParcelable(parcel, readHeader, zzar.CREATOR);
} else if (fieldId == 4) {
str2 = SafeParcelReader.createString(parcel, readHeader);
} else if (fieldId == 5) {
j = SafeParcelReader.readLong(parcel, readHeader);
} else {
SafeParcelReader.skipUnknownField(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new zzat(str, zzarVar, str2, j);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ zzat[] newArray(int i) {
return new zzat[i];
}
}