package ඓ.ᨨ.K.ඓ.㸾.㸾;

import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.text.TextUtils;
import com.zhihu.matisse.R$string;
import ῲ.Ԕ.K.DialogInterface$OnCancelListenerC1529;
import ῲ.ῲ.K.DialogInterfaceC1958;

/* renamed from: ඓ.ᨨ.K.ඓ.㸾.㸾.ῲ  reason: contains not printable characters */
/* compiled from: IncapableDialog */
public class C0799 extends DialogInterface$OnCancelListenerC1529 {

    /* renamed from: ඓ.ᨨ.K.ඓ.㸾.㸾.ῲ$K  reason: contains not printable characters */
    /* compiled from: IncapableDialog */
    public class DialogInterface$OnClickListenerC0800 implements DialogInterface.OnClickListener {
        public DialogInterface$OnClickListenerC0800(C0799 r1) {
        }

        public void onClick(DialogInterface dialogInterface, int i) {
            dialogInterface.dismiss();
        }
    }

    /* renamed from: ῲ  reason: contains not printable characters */
    public static C0799 m2386(String str, String str2) {
        C0799 r0 = new C0799();
        Bundle bundle = new Bundle();
        bundle.putString("extra_title", str);
        bundle.putString("extra_message", str2);
        r0.setArguments(bundle);
        return r0;
    }

    @Override // ῲ.Ԕ.K.DialogInterface$OnCancelListenerC1529
    public Dialog onCreateDialog(Bundle bundle) {
        String string = getArguments().getString("extra_title");
        String string2 = getArguments().getString("extra_message");
        DialogInterfaceC1958.C1959 k = new DialogInterfaceC1958.C1959(getActivity());
        if (!TextUtils.isEmpty(string)) {
            k.setTitle(string);
        }
        if (!TextUtils.isEmpty(string2)) {
            k.setMessage(string2);
        }
        k.setPositiveButton(R$string.button_ok, new DialogInterface$OnClickListenerC0800(this));
        return k.create();
    }
}
