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

31 lines
1.3 KiB
Java

package com.google.android.gms.auth.api.identity;
import android.app.PendingIntent;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes.dex */
public final class zze implements Parcelable.Creator<BeginSignInResult> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ BeginSignInResult[] newArray(int i) {
return new BeginSignInResult[i];
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ BeginSignInResult createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
PendingIntent pendingIntent = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
if (SafeParcelReader.getFieldId(readHeader) == 1) {
pendingIntent = (PendingIntent) SafeParcelReader.createParcelable(parcel, readHeader, PendingIntent.CREATOR);
} else {
SafeParcelReader.skipUnknownField(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new BeginSignInResult(pendingIntent);
}
}