37 lines
1.4 KiB
Java
37 lines
1.4 KiB
Java
package com.google.android.gms.clearcut;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zzd implements Parcelable.Creator<zzc> {
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ zzc[] newArray(int i) {
|
|
return new zzc[i];
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ zzc createFromParcel(Parcel parcel) {
|
|
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
|
|
boolean z = false;
|
|
long j = 0;
|
|
long j2 = 0;
|
|
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) {
|
|
j2 = SafeParcelReader.readLong(parcel, readHeader);
|
|
} else if (fieldId != 3) {
|
|
SafeParcelReader.skipUnknownField(parcel, readHeader);
|
|
} else {
|
|
j = SafeParcelReader.readLong(parcel, readHeader);
|
|
}
|
|
}
|
|
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
|
|
return new zzc(z, j, j2);
|
|
}
|
|
}
|