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

43 lines
1.7 KiB
Java

package com.google.android.gms.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 zzx implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
boolean z = true;
long j = 50;
float f = 0.0f;
long j2 = Long.MAX_VALUE;
int i = Integer.MAX_VALUE;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 1) {
z = SafeParcelReader.readBoolean(parcel, readHeader);
} else if (fieldId == 2) {
j = SafeParcelReader.readLong(parcel, readHeader);
} else if (fieldId == 3) {
f = SafeParcelReader.readFloat(parcel, readHeader);
} else if (fieldId == 4) {
j2 = SafeParcelReader.readLong(parcel, readHeader);
} else if (fieldId == 5) {
i = SafeParcelReader.readInt(parcel, readHeader);
} else {
SafeParcelReader.skipUnknownField(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new zzw(z, j, f, j2, i);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new zzw[i];
}
}