39 lines
1.7 KiB
Java
39 lines
1.7 KiB
Java
package com.google.android.gms.internal.location;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import com.google.android.gms.common.internal.ClientIdentity;
|
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class zzi implements Parcelable.Creator {
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ Object createFromParcel(Parcel parcel) {
|
|
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
|
|
com.google.android.gms.location.zzw zzwVar = zzh.zzb;
|
|
List list = zzh.zza;
|
|
String str = null;
|
|
while (parcel.dataPosition() < validateObjectHeader) {
|
|
int readHeader = SafeParcelReader.readHeader(parcel);
|
|
int fieldId = SafeParcelReader.getFieldId(readHeader);
|
|
if (fieldId == 1) {
|
|
zzwVar = (com.google.android.gms.location.zzw) SafeParcelReader.createParcelable(parcel, readHeader, com.google.android.gms.location.zzw.CREATOR);
|
|
} else if (fieldId == 2) {
|
|
list = SafeParcelReader.createTypedList(parcel, readHeader, ClientIdentity.CREATOR);
|
|
} else if (fieldId == 3) {
|
|
str = SafeParcelReader.createString(parcel, readHeader);
|
|
} else {
|
|
SafeParcelReader.skipUnknownField(parcel, readHeader);
|
|
}
|
|
}
|
|
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
|
|
return new zzh(zzwVar, list, str);
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ Object[] newArray(int i) {
|
|
return new zzh[i];
|
|
}
|
|
}
|