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

31 lines
1.2 KiB
Java
Raw 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 zzs implements Parcelable.Creator<zzt> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ zzt[] newArray(int i) {
return new zzt[i];
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ zzt 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 zzt(credential);
}
}