65 lines
2.4 KiB
Java
65 lines
2.4 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 zzbo implements Parcelable.Creator {
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* synthetic */ Object createFromParcel(Parcel parcel) {
|
||
|
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
|
||
|
int i = 102;
|
||
|
long j = 3600000;
|
||
|
long j2 = 600000;
|
||
|
boolean z = false;
|
||
|
boolean z2 = false;
|
||
|
long j3 = Long.MAX_VALUE;
|
||
|
int i2 = Integer.MAX_VALUE;
|
||
|
float f = 0.0f;
|
||
|
long j4 = 0;
|
||
|
while (parcel.dataPosition() < validateObjectHeader) {
|
||
|
int readHeader = SafeParcelReader.readHeader(parcel);
|
||
|
switch (SafeParcelReader.getFieldId(readHeader)) {
|
||
|
case 1:
|
||
|
i = SafeParcelReader.readInt(parcel, readHeader);
|
||
|
break;
|
||
|
case 2:
|
||
|
j = SafeParcelReader.readLong(parcel, readHeader);
|
||
|
break;
|
||
|
case 3:
|
||
|
j2 = SafeParcelReader.readLong(parcel, readHeader);
|
||
|
break;
|
||
|
case 4:
|
||
|
z = SafeParcelReader.readBoolean(parcel, readHeader);
|
||
|
break;
|
||
|
case 5:
|
||
|
j3 = SafeParcelReader.readLong(parcel, readHeader);
|
||
|
break;
|
||
|
case 6:
|
||
|
i2 = SafeParcelReader.readInt(parcel, readHeader);
|
||
|
break;
|
||
|
case 7:
|
||
|
f = SafeParcelReader.readFloat(parcel, readHeader);
|
||
|
break;
|
||
|
case 8:
|
||
|
j4 = SafeParcelReader.readLong(parcel, readHeader);
|
||
|
break;
|
||
|
case 9:
|
||
|
z2 = SafeParcelReader.readBoolean(parcel, readHeader);
|
||
|
break;
|
||
|
default:
|
||
|
SafeParcelReader.skipUnknownField(parcel, readHeader);
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
|
||
|
return new LocationRequest(i, j, j2, z, j3, i2, f, j4, z2);
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* synthetic */ Object[] newArray(int i) {
|
||
|
return new LocationRequest[i];
|
||
|
}
|
||
|
}
|