66 lines
2.5 KiB
Java
66 lines
2.5 KiB
Java
package com.google.android.gms.location;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import android.os.WorkSource;
|
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class zzm implements Parcelable.Creator {
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ Object createFromParcel(Parcel parcel) {
|
|
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
|
|
long j = 0;
|
|
long j2 = 0;
|
|
boolean z = false;
|
|
boolean z2 = false;
|
|
WorkSource workSource = null;
|
|
String str = null;
|
|
int[] iArr = null;
|
|
String str2 = null;
|
|
String str3 = null;
|
|
while (parcel.dataPosition() < validateObjectHeader) {
|
|
int readHeader = SafeParcelReader.readHeader(parcel);
|
|
switch (SafeParcelReader.getFieldId(readHeader)) {
|
|
case 1:
|
|
j = SafeParcelReader.readLong(parcel, readHeader);
|
|
break;
|
|
case 2:
|
|
z = SafeParcelReader.readBoolean(parcel, readHeader);
|
|
break;
|
|
case 3:
|
|
workSource = (WorkSource) SafeParcelReader.createParcelable(parcel, readHeader, WorkSource.CREATOR);
|
|
break;
|
|
case 4:
|
|
str = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 5:
|
|
iArr = SafeParcelReader.createIntArray(parcel, readHeader);
|
|
break;
|
|
case 6:
|
|
z2 = SafeParcelReader.readBoolean(parcel, readHeader);
|
|
break;
|
|
case 7:
|
|
str2 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 8:
|
|
j2 = SafeParcelReader.readLong(parcel, readHeader);
|
|
break;
|
|
case 9:
|
|
str3 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
default:
|
|
SafeParcelReader.skipUnknownField(parcel, readHeader);
|
|
break;
|
|
}
|
|
}
|
|
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
|
|
return new zzl(j, z, workSource, str, iArr, z2, str2, j2, str3);
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ Object[] newArray(int i) {
|
|
return new zzl[i];
|
|
}
|
|
}
|