35 lines
1.4 KiB
Java
35 lines
1.4 KiB
Java
package com.google.android.gms.auth;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
|
|
import java.util.ArrayList;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zzc implements Parcelable.Creator<AccountChangeEventsResponse> {
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ AccountChangeEventsResponse[] newArray(int i) {
|
|
return new AccountChangeEventsResponse[i];
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ AccountChangeEventsResponse createFromParcel(Parcel parcel) {
|
|
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
|
|
int i = 0;
|
|
ArrayList arrayList = 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) {
|
|
arrayList = SafeParcelReader.createTypedList(parcel, readHeader, AccountChangeEvent.CREATOR);
|
|
} else {
|
|
SafeParcelReader.skipUnknownField(parcel, readHeader);
|
|
}
|
|
}
|
|
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
|
|
return new AccountChangeEventsResponse(i, arrayList);
|
|
}
|
|
}
|