package com.google.android.gms.auth.api.accounttransfer; import android.os.Parcel; import android.os.Parcelable; import com.google.android.gms.common.internal.safeparcel.SafeParcelReader; /* loaded from: classes.dex */ public final class zzv implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ DeviceMetaData[] newArray(int i) { return new DeviceMetaData[i]; } @Override // android.os.Parcelable.Creator public final /* synthetic */ DeviceMetaData createFromParcel(Parcel parcel) { int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel); int i = 0; boolean z = false; boolean z2 = false; long j = 0; while (parcel.dataPosition() < validateObjectHeader) { int readHeader = SafeParcelReader.readHeader(parcel); int fieldId = SafeParcelReader.getFieldId(readHeader); if (fieldId == 1) { i = SafeParcelReader.readInt(parcel, readHeader); } else if (fieldId == 2) { z = SafeParcelReader.readBoolean(parcel, readHeader); } else if (fieldId == 3) { j = SafeParcelReader.readLong(parcel, readHeader); } else if (fieldId == 4) { z2 = SafeParcelReader.readBoolean(parcel, readHeader); } else { SafeParcelReader.skipUnknownField(parcel, readHeader); } } SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader); return new DeviceMetaData(i, z, j, z2); } }