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

63 lines
2.6 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.auth.api.credentials;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes.dex */
public final class zzj implements Parcelable.Creator<HintRequest> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ HintRequest[] newArray(int i) {
return new HintRequest[i];
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ HintRequest createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
int i = 0;
boolean z = false;
boolean z2 = false;
boolean z3 = false;
CredentialPickerConfig credentialPickerConfig = null;
String[] strArr = null;
String str = null;
String str2 = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId != 1000) {
switch (fieldId) {
case 1:
credentialPickerConfig = (CredentialPickerConfig) SafeParcelReader.createParcelable(parcel, readHeader, CredentialPickerConfig.CREATOR);
break;
case 2:
z = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 3:
z2 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 4:
strArr = SafeParcelReader.createStringArray(parcel, readHeader);
break;
case 5:
z3 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 6:
str = SafeParcelReader.createString(parcel, readHeader);
break;
case 7:
str2 = SafeParcelReader.createString(parcel, readHeader);
break;
default:
SafeParcelReader.skipUnknownField(parcel, readHeader);
break;
}
} else {
i = SafeParcelReader.readInt(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new HintRequest(i, credentialPickerConfig, z, z2, strArr, z3, str, str2);
}
}