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

42 lines
1.7 KiB
Java

package com.google.android.gms.internal.p002firebaseauthapi;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.api.Status;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
import com.google.firebase.auth.zze;
/* loaded from: classes2.dex */
public final class zztl implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
Status status = null;
zze zzeVar = null;
String str = null;
String str2 = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 1) {
status = (Status) SafeParcelReader.createParcelable(parcel, readHeader, Status.CREATOR);
} else if (fieldId == 2) {
zzeVar = (zze) SafeParcelReader.createParcelable(parcel, readHeader, zze.CREATOR);
} else if (fieldId == 3) {
str = SafeParcelReader.createString(parcel, readHeader);
} else if (fieldId == 4) {
str2 = SafeParcelReader.createString(parcel, readHeader);
} else {
SafeParcelReader.skipUnknownField(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new zztk(status, zzeVar, str, str2);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new zztk[i];
}
}