58 lines
2.2 KiB
Java
58 lines
2.2 KiB
Java
|
package com.google.android.gms.auth;
|
||
|
|
||
|
import android.os.Parcel;
|
||
|
import android.os.Parcelable;
|
||
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
|
||
|
import java.util.ArrayList;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class zzk implements Parcelable.Creator<TokenData> {
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* synthetic */ TokenData[] newArray(int i) {
|
||
|
return new TokenData[i];
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* synthetic */ TokenData createFromParcel(Parcel parcel) {
|
||
|
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
|
||
|
int i = 0;
|
||
|
boolean z = false;
|
||
|
boolean z2 = false;
|
||
|
String str = null;
|
||
|
Long l = null;
|
||
|
ArrayList<String> arrayList = null;
|
||
|
String str2 = null;
|
||
|
while (parcel.dataPosition() < validateObjectHeader) {
|
||
|
int readHeader = SafeParcelReader.readHeader(parcel);
|
||
|
switch (SafeParcelReader.getFieldId(readHeader)) {
|
||
|
case 1:
|
||
|
i = SafeParcelReader.readInt(parcel, readHeader);
|
||
|
break;
|
||
|
case 2:
|
||
|
str = SafeParcelReader.createString(parcel, readHeader);
|
||
|
break;
|
||
|
case 3:
|
||
|
l = SafeParcelReader.readLongObject(parcel, readHeader);
|
||
|
break;
|
||
|
case 4:
|
||
|
z = SafeParcelReader.readBoolean(parcel, readHeader);
|
||
|
break;
|
||
|
case 5:
|
||
|
z2 = SafeParcelReader.readBoolean(parcel, readHeader);
|
||
|
break;
|
||
|
case 6:
|
||
|
arrayList = SafeParcelReader.createStringList(parcel, readHeader);
|
||
|
break;
|
||
|
case 7:
|
||
|
str2 = SafeParcelReader.createString(parcel, readHeader);
|
||
|
break;
|
||
|
default:
|
||
|
SafeParcelReader.skipUnknownField(parcel, readHeader);
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
|
||
|
return new TokenData(i, str, l, z, z2, arrayList, str2);
|
||
|
}
|
||
|
}
|