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

44 lines
1.3 KiB
Java

package com.google.android.gms.common.internal;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import java.util.ArrayList;
import java.util.List;
/* loaded from: classes.dex */
public class TelemetryData extends AbstractSafeParcelable {
public static final Parcelable.Creator<TelemetryData> CREATOR = new zaab();
private final int zaa;
private List<MethodInvocation> zab;
public TelemetryData(int i, List<MethodInvocation> list) {
this.zaa = i;
this.zab = list;
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeInt(parcel, 1, this.zaa);
SafeParcelWriter.writeTypedList(parcel, 2, this.zab, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public final void zac(MethodInvocation methodInvocation) {
if (this.zab == null) {
this.zab = new ArrayList();
}
this.zab.add(methodInvocation);
}
public final List<MethodInvocation> zab() {
return this.zab;
}
public final int zaa() {
return this.zaa;
}
}