what-the-bank/sources/com/google/android/gms/common/internal/zaab.java

35 lines
1.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.common.internal;
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 zaab implements Parcelable.Creator<TelemetryData> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ TelemetryData createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
int i = 0;
ArrayList arrayList = 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) {
arrayList = SafeParcelReader.createTypedList(parcel, readHeader, MethodInvocation.CREATOR);
} else {
SafeParcelReader.skipUnknownField(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new TelemetryData(i, arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ TelemetryData[] newArray(int i) {
return new TelemetryData[i];
}
}