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

41 lines
1.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.auth;
import android.accounts.Account;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes.dex */
public final class zzb implements Parcelable.Creator<AccountChangeEventsRequest> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ AccountChangeEventsRequest[] newArray(int i) {
return new AccountChangeEventsRequest[i];
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ AccountChangeEventsRequest createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
int i = 0;
String str = null;
Account account = null;
int i2 = 0;
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) {
i2 = SafeParcelReader.readInt(parcel, readHeader);
} else if (fieldId == 3) {
str = SafeParcelReader.createString(parcel, readHeader);
} else if (fieldId == 4) {
account = (Account) SafeParcelReader.createParcelable(parcel, readHeader, Account.CREATOR);
} else {
SafeParcelReader.skipUnknownField(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new AccountChangeEventsRequest(i, i2, str, account);
}
}