what-the-bank/sources/com/google/android/gms/auth/api/credentials/zzc.java

65 lines
2.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.auth.api.credentials;
import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
import java.util.ArrayList;
/* loaded from: classes.dex */
public final class zzc implements Parcelable.Creator<Credential> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Credential[] newArray(int i) {
return new Credential[i];
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Credential createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
String str = null;
String str2 = null;
Uri uri = null;
ArrayList arrayList = null;
String str3 = null;
String str4 = null;
String str5 = null;
String str6 = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
switch (SafeParcelReader.getFieldId(readHeader)) {
case 1:
str = SafeParcelReader.createString(parcel, readHeader);
break;
case 2:
str2 = SafeParcelReader.createString(parcel, readHeader);
break;
case 3:
uri = (Uri) SafeParcelReader.createParcelable(parcel, readHeader, Uri.CREATOR);
break;
case 4:
arrayList = SafeParcelReader.createTypedList(parcel, readHeader, IdToken.CREATOR);
break;
case 5:
str3 = SafeParcelReader.createString(parcel, readHeader);
break;
case 6:
str4 = SafeParcelReader.createString(parcel, readHeader);
break;
case 7:
case 8:
default:
SafeParcelReader.skipUnknownField(parcel, readHeader);
break;
case 9:
str5 = SafeParcelReader.createString(parcel, readHeader);
break;
case 10:
str6 = SafeParcelReader.createString(parcel, readHeader);
break;
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new Credential(str, str2, uri, arrayList, str3, str4, str5, str6);
}
}