65 lines
2.3 KiB
Java
65 lines
2.3 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 zzcb implements Parcelable.Creator {
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ Object createFromParcel(Parcel parcel) {
|
|
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
|
|
int i = 0;
|
|
int i2 = 0;
|
|
int i3 = 0;
|
|
int i4 = 0;
|
|
int i5 = 0;
|
|
int i6 = 0;
|
|
int i7 = 0;
|
|
boolean z = false;
|
|
int i8 = 0;
|
|
while (parcel.dataPosition() < validateObjectHeader) {
|
|
int readHeader = SafeParcelReader.readHeader(parcel);
|
|
switch (SafeParcelReader.getFieldId(readHeader)) {
|
|
case 1:
|
|
i = SafeParcelReader.readInt(parcel, readHeader);
|
|
break;
|
|
case 2:
|
|
i2 = SafeParcelReader.readInt(parcel, readHeader);
|
|
break;
|
|
case 3:
|
|
i3 = SafeParcelReader.readInt(parcel, readHeader);
|
|
break;
|
|
case 4:
|
|
i4 = SafeParcelReader.readInt(parcel, readHeader);
|
|
break;
|
|
case 5:
|
|
i5 = SafeParcelReader.readInt(parcel, readHeader);
|
|
break;
|
|
case 6:
|
|
i6 = SafeParcelReader.readInt(parcel, readHeader);
|
|
break;
|
|
case 7:
|
|
i7 = SafeParcelReader.readInt(parcel, readHeader);
|
|
break;
|
|
case 8:
|
|
z = SafeParcelReader.readBoolean(parcel, readHeader);
|
|
break;
|
|
case 9:
|
|
i8 = SafeParcelReader.readInt(parcel, readHeader);
|
|
break;
|
|
default:
|
|
SafeParcelReader.skipUnknownField(parcel, readHeader);
|
|
break;
|
|
}
|
|
}
|
|
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
|
|
return new SleepClassifyEvent(i, i2, i3, i4, i5, i6, i7, z, i8);
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ Object[] newArray(int i) {
|
|
return new SleepClassifyEvent[i];
|
|
}
|
|
}
|