package p7;

import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import java.util.Objects;

/* JADX INFO: loaded from: classes2.dex */
public final class k implements Runnable {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ Context f31705a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ String f31706b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ boolean f31707c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ boolean f31708d;

    public k(l lVar, Context context, String str, boolean z10, boolean z11) {
        this.f31705a = context;
        this.f31706b = str;
        this.f31707c = z10;
        this.f31708d = z11;
        Objects.requireNonNull(lVar);
    }

    @Override // java.lang.Runnable
    public final void run() {
        r0 r0Var = m7.n.C.f30464c;
        Context context = this.f31705a;
        AlertDialog.Builder builderJ = r0.j(context);
        builderJ.setMessage(this.f31706b);
        if (this.f31707c) {
            builderJ.setTitle("Error");
        } else {
            builderJ.setTitle("Info");
        }
        if (this.f31708d) {
            builderJ.setNeutralButton("Dismiss", (DialogInterface.OnClickListener) null);
        } else {
            builderJ.setPositiveButton("Learn More", new a3.i(this, context));
            builderJ.setNegativeButton("Dismiss", (DialogInterface.OnClickListener) null);
        }
        builderJ.create().show();
    }
}
