package o;

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;
import java.util.ArrayList;
import java.util.List;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.sn0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2463sn0 extends AbstractSafeParcelable implements Result {
    public static final Parcelable.Creator<C2463sn0> CREATOR = new C2487t1(24);
    public final List l;
    public final String m;

    public C2463sn0(String str, ArrayList arrayList) {
        this.l = arrayList;
        this.m = str;
    }

    @Override // com.google.android.gms.common.api.Result
    public final Status getStatus() {
        return this.m != null ? Status.RESULT_SUCCESS : Status.RESULT_CANCELED;
    }

    @Override // android.os.Parcelable
    public final void writeToParcel(Parcel parcel, int i) {
        int iBeginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
        SafeParcelWriter.writeStringList(parcel, 1, this.l, false);
        SafeParcelWriter.writeString(parcel, 2, this.m, false);
        SafeParcelWriter.finishObjectHeader(parcel, iBeginObjectHeader);
    }
}
