package com.google.android.gms.common.api; import android.os.Looper; import com.google.android.gms.common.api.Result; import com.google.android.gms.common.api.internal.BasePendingResult; /* loaded from: classes.dex */ final class zaf extends BasePendingResult { private final R zae; public zaf(R r) { super(Looper.getMainLooper()); this.zae = r; } @Override // com.google.android.gms.common.api.internal.BasePendingResult public final R createFailedResult(Status status) { if (status.getStatusCode() == this.zae.getStatus().getStatusCode()) { return this.zae; } throw new UnsupportedOperationException("Creating failed results is not supported"); } }