what-the-bank/sources/com/google/android/gms/internal/p000authapi/zzy.java

31 lines
1.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.p000authapi;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.auth.api.credentials.Credential;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes2.dex */
public final class zzy implements Parcelable.Creator<zzz> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ zzz[] newArray(int i) {
return new zzz[i];
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ zzz createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
Credential credential = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
if (SafeParcelReader.getFieldId(readHeader) == 1) {
credential = (Credential) SafeParcelReader.createParcelable(parcel, readHeader, Credential.CREATOR);
} else {
SafeParcelReader.skipUnknownField(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new zzz(credential);
}
}