package a4; import android.util.Log; import com.google.android.gms.ads.RequestConfiguration; import com.google.android.gms.common.internal.Preconditions; import com.google.android.gms.tasks.Continuation; import com.google.android.gms.tasks.Task; import com.google.android.gms.tasks.Tasks; import com.google.android.recaptcha.RecaptchaAction; import com.google.android.recaptcha.RecaptchaTasksClient; /* loaded from: classes2.dex */ final class e0 implements Continuation { /* renamed from: a, reason: collision with root package name */ final /* synthetic */ RecaptchaAction f60a; e0(f0 f0Var, RecaptchaAction recaptchaAction) { this.f60a = recaptchaAction; } @Override // com.google.android.gms.tasks.Continuation public final /* bridge */ /* synthetic */ Object then(Task task) { if (task.isSuccessful()) { return ((RecaptchaTasksClient) task.getResult()).executeTask(this.f60a); } Exception exc = (Exception) Preconditions.checkNotNull(task.getException()); if (!(exc instanceof c0)) { return Tasks.forException(exc); } if (Log.isLoggable("RecaptchaHandler", 4)) { Log.i("RecaptchaHandler", "Ignoring error related to fetching recaptcha config - ".concat(String.valueOf(exc.getMessage()))); } return Tasks.forResult(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED); } }