what-the-bank/sources/com/google/android/gms/location/LocationSettingsResult.java

38 lines
1.4 KiB
Java

package com.google.android.gms.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 LocationSettingsResult extends AbstractSafeParcelable implements Result {
public static final Parcelable.Creator<LocationSettingsResult> CREATOR = new zzbt();
private final Status zza;
private final LocationSettingsStates zzb;
public LocationSettingsResult(Status status, LocationSettingsStates locationSettingsStates) {
this.zza = status;
this.zzb = locationSettingsStates;
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeParcelable(parcel, 1, getStatus(), i, false);
SafeParcelWriter.writeParcelable(parcel, 2, getLocationSettingsStates(), i, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
@Override // com.google.android.gms.common.api.Result
public final Status getStatus() {
return this.zza;
}
public final LocationSettingsStates getLocationSettingsStates() {
return this.zzb;
}
}