what-the-bank/sources/com/google/android/gms/internal/auth/zzai.java

38 lines
1.5 KiB
Java

package com.google.android.gms.internal.auth;
import android.app.PendingIntent;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes2.dex */
public final class zzai implements Parcelable.Creator<zzah> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ zzah[] newArray(int i) {
return new zzah[i];
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ zzah createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
int i = 0;
String str = null;
PendingIntent pendingIntent = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 1) {
i = SafeParcelReader.readInt(parcel, readHeader);
} else if (fieldId == 2) {
str = SafeParcelReader.createString(parcel, readHeader);
} else if (fieldId == 3) {
pendingIntent = (PendingIntent) SafeParcelReader.createParcelable(parcel, readHeader, PendingIntent.CREATOR);
} else {
SafeParcelReader.skipUnknownField(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new zzah(i, str, pendingIntent);
}
}