what-the-bank/sources/com/google/android/gms/internal/location/zzbk.java

65 lines
2.3 KiB
Java

package com.google.android.gms.internal.location;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes2.dex */
public final class zzbk implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
String str = null;
int i = 0;
short s = 0;
int i2 = 0;
double d = 0.0d;
double d2 = 0.0d;
float f = 0.0f;
long j = 0;
int i3 = -1;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
switch (SafeParcelReader.getFieldId(readHeader)) {
case 1:
str = SafeParcelReader.createString(parcel, readHeader);
break;
case 2:
j = SafeParcelReader.readLong(parcel, readHeader);
break;
case 3:
s = SafeParcelReader.readShort(parcel, readHeader);
break;
case 4:
d = SafeParcelReader.readDouble(parcel, readHeader);
break;
case 5:
d2 = SafeParcelReader.readDouble(parcel, readHeader);
break;
case 6:
f = SafeParcelReader.readFloat(parcel, readHeader);
break;
case 7:
i = SafeParcelReader.readInt(parcel, readHeader);
break;
case 8:
i2 = SafeParcelReader.readInt(parcel, readHeader);
break;
case 9:
i3 = SafeParcelReader.readInt(parcel, readHeader);
break;
default:
SafeParcelReader.skipUnknownField(parcel, readHeader);
break;
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new zzbj(str, i, s, d, d2, f, j, i2, i3);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new zzbj[i];
}
}