Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
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;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public class RootTelemetryConfiguration extends AbstractSafeParcelable {
|
||||
public static final Parcelable.Creator<RootTelemetryConfiguration> CREATOR = new zzaj();
|
||||
private final int zza;
|
||||
private final boolean zzb;
|
||||
private final boolean zzc;
|
||||
private final int zzd;
|
||||
private final int zze;
|
||||
|
||||
public RootTelemetryConfiguration(int i, boolean z, boolean z2, int i2, int i3) {
|
||||
this.zza = i;
|
||||
this.zzb = z;
|
||||
this.zzc = z2;
|
||||
this.zzd = i2;
|
||||
this.zze = i3;
|
||||
}
|
||||
|
||||
public int getBatchPeriodMillis() {
|
||||
return this.zzd;
|
||||
}
|
||||
|
||||
public int getMaxMethodInvocationsInBatch() {
|
||||
return this.zze;
|
||||
}
|
||||
|
||||
public boolean getMethodInvocationTelemetryEnabled() {
|
||||
return this.zzb;
|
||||
}
|
||||
|
||||
public boolean getMethodTimingTelemetryEnabled() {
|
||||
return this.zzc;
|
||||
}
|
||||
|
||||
public int getVersion() {
|
||||
return this.zza;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
int iBeginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||||
SafeParcelWriter.writeInt(parcel, 1, getVersion());
|
||||
SafeParcelWriter.writeBoolean(parcel, 2, getMethodInvocationTelemetryEnabled());
|
||||
SafeParcelWriter.writeBoolean(parcel, 3, getMethodTimingTelemetryEnabled());
|
||||
SafeParcelWriter.writeInt(parcel, 4, getBatchPeriodMillis());
|
||||
SafeParcelWriter.writeInt(parcel, 5, getMaxMethodInvocationsInBatch());
|
||||
SafeParcelWriter.finishObjectHeader(parcel, iBeginObjectHeader);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user