32 lines
1.1 KiB
Java
32 lines
1.1 KiB
Java
package com.google.android.gms.internal.location;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import com.google.android.gms.common.api.Result;
|
|
import com.google.android.gms.common.api.Status;
|
|
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
|
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class zzaa extends AbstractSafeParcelable implements Result {
|
|
private final Status zzb;
|
|
public static final zzaa zza = new zzaa(Status.RESULT_SUCCESS);
|
|
public static final Parcelable.Creator<zzaa> CREATOR = new zzab();
|
|
|
|
public zzaa(Status status) {
|
|
this.zzb = status;
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public final void writeToParcel(Parcel parcel, int i) {
|
|
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
|
SafeParcelWriter.writeParcelable(parcel, 1, this.zzb, i, false);
|
|
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.api.Result
|
|
public final Status getStatus() {
|
|
return this.zzb;
|
|
}
|
|
}
|