what-the-bank/sources/com/google/android/gms/auth/api/accounttransfer/zzm.java

52 lines
2.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.auth.api.accounttransfer;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
import java.util.ArrayList;
import java.util.HashSet;
/* loaded from: classes.dex */
public final class zzm implements Parcelable.Creator<zzl> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ zzl[] newArray(int i) {
return new zzl[i];
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ zzl createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
HashSet hashSet = new HashSet();
int i = 0;
ArrayList arrayList = null;
zzo zzoVar = null;
int i2 = 0;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 1) {
i2 = SafeParcelReader.readInt(parcel, readHeader);
hashSet.add(1);
} else if (fieldId == 2) {
arrayList = SafeParcelReader.createTypedList(parcel, readHeader, zzr.CREATOR);
hashSet.add(2);
} else if (fieldId == 3) {
i = SafeParcelReader.readInt(parcel, readHeader);
hashSet.add(3);
} else if (fieldId == 4) {
zzoVar = (zzo) SafeParcelReader.createParcelable(parcel, readHeader, zzo.CREATOR);
hashSet.add(4);
} else {
SafeParcelReader.skipUnknownField(parcel, readHeader);
}
}
if (parcel.dataPosition() != validateObjectHeader) {
StringBuilder sb = new StringBuilder(37);
sb.append("Overread allowed size end=");
sb.append(validateObjectHeader);
throw new SafeParcelReader.ParseException(sb.toString(), parcel);
}
return new zzl(hashSet, i2, arrayList, i, zzoVar);
}
}