what-the-bank/sources/com/google/android/gms/common/server/response/zaq.java

37 lines
1.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.common.server.response;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes.dex */
public final class zaq implements Parcelable.Creator<SafeParcelResponse> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ SafeParcelResponse createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
int i = 0;
Parcel parcel2 = null;
zan zanVar = null;
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) {
parcel2 = SafeParcelReader.createParcel(parcel, readHeader);
} else if (fieldId == 3) {
zanVar = (zan) SafeParcelReader.createParcelable(parcel, readHeader, zan.CREATOR);
} else {
SafeParcelReader.skipUnknownField(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new SafeParcelResponse(i, parcel2, zanVar);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ SafeParcelResponse[] newArray(int i) {
return new SafeParcelResponse[i];
}
}