Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
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;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-base@@18.4.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public class TelemetryData extends AbstractSafeParcelable {
|
||||
public static final Parcelable.Creator<TelemetryData> CREATOR = new zaab();
|
||||
private final int zaa;
|
||||
|
||||
@Nullable
|
||||
private List zab;
|
||||
|
||||
public TelemetryData(int i, @Nullable List list) {
|
||||
this.zaa = i;
|
||||
this.zab = list;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
int iBeginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||||
SafeParcelWriter.writeInt(parcel, 1, this.zaa);
|
||||
SafeParcelWriter.writeTypedList(parcel, 2, this.zab, false);
|
||||
SafeParcelWriter.finishObjectHeader(parcel, iBeginObjectHeader);
|
||||
}
|
||||
|
||||
public final int zaa() {
|
||||
return this.zaa;
|
||||
}
|
||||
|
||||
public final List zab() {
|
||||
return this.zab;
|
||||
}
|
||||
|
||||
public final void zac(MethodInvocation methodInvocation) {
|
||||
if (this.zab == null) {
|
||||
this.zab = new ArrayList();
|
||||
}
|
||||
this.zab.add(methodInvocation);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user