86 lines
3.4 KiB
Java
86 lines
3.4 KiB
Java
package com.google.android.gms.vision.barcode;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
|
|
import com.google.android.gms.vision.barcode.Barcode;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class zzg implements Parcelable.Creator<Barcode.DriverLicense> {
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ Barcode.DriverLicense[] newArray(int i) {
|
|
return new Barcode.DriverLicense[i];
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ Barcode.DriverLicense createFromParcel(Parcel parcel) {
|
|
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
|
|
String str = null;
|
|
String str2 = null;
|
|
String str3 = null;
|
|
String str4 = null;
|
|
String str5 = null;
|
|
String str6 = null;
|
|
String str7 = null;
|
|
String str8 = null;
|
|
String str9 = null;
|
|
String str10 = null;
|
|
String str11 = null;
|
|
String str12 = null;
|
|
String str13 = null;
|
|
String str14 = null;
|
|
while (parcel.dataPosition() < validateObjectHeader) {
|
|
int readHeader = SafeParcelReader.readHeader(parcel);
|
|
switch (SafeParcelReader.getFieldId(readHeader)) {
|
|
case 2:
|
|
str = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 3:
|
|
str2 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 4:
|
|
str3 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 5:
|
|
str4 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 6:
|
|
str5 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 7:
|
|
str6 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 8:
|
|
str7 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 9:
|
|
str8 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 10:
|
|
str9 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 11:
|
|
str10 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 12:
|
|
str11 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 13:
|
|
str12 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 14:
|
|
str13 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
case 15:
|
|
str14 = SafeParcelReader.createString(parcel, readHeader);
|
|
break;
|
|
default:
|
|
SafeParcelReader.skipUnknownField(parcel, readHeader);
|
|
break;
|
|
}
|
|
}
|
|
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
|
|
return new Barcode.DriverLicense(str, str2, str3, str4, str5, str6, str7, str8, str9, str10, str11, str12, str13, str14);
|
|
}
|
|
}
|