what-the-bank/sources/com/google/android/gms/auth/api/identity/zzd.java

41 lines
1.8 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.auth.api.identity;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.auth.api.identity.BeginSignInRequest;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes.dex */
public final class zzd implements Parcelable.Creator<BeginSignInRequest.GoogleIdTokenRequestOptions> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ BeginSignInRequest.GoogleIdTokenRequestOptions[] newArray(int i) {
return new BeginSignInRequest.GoogleIdTokenRequestOptions[i];
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ BeginSignInRequest.GoogleIdTokenRequestOptions createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
boolean z = false;
String str = null;
String str2 = null;
boolean z2 = false;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 1) {
z = SafeParcelReader.readBoolean(parcel, readHeader);
} else if (fieldId == 2) {
str = SafeParcelReader.createString(parcel, readHeader);
} else if (fieldId == 3) {
str2 = SafeParcelReader.createString(parcel, readHeader);
} else if (fieldId == 4) {
z2 = SafeParcelReader.readBoolean(parcel, readHeader);
} else {
SafeParcelReader.skipUnknownField(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new BeginSignInRequest.GoogleIdTokenRequestOptions(z, str, str2, z2);
}
}