34 lines
1.4 KiB
Java
34 lines
1.4 KiB
Java
package com.google.android.gms.common.server.converter;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zab implements Parcelable.Creator<zaa> {
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ zaa createFromParcel(Parcel parcel) {
|
|
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
|
|
int i = 0;
|
|
StringToIntConverter stringToIntConverter = 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) {
|
|
stringToIntConverter = (StringToIntConverter) SafeParcelReader.createParcelable(parcel, readHeader, StringToIntConverter.CREATOR);
|
|
} else {
|
|
SafeParcelReader.skipUnknownField(parcel, readHeader);
|
|
}
|
|
}
|
|
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
|
|
return new zaa(i, stringToIntConverter);
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ zaa[] newArray(int i) {
|
|
return new zaa[i];
|
|
}
|
|
}
|