package ῲ.ῲ.K;

import android.app.Dialog;
import android.os.Bundle;
import ῲ.Ԕ.K.DialogInterface$OnCancelListenerC1529;

/* renamed from: ῲ.ῲ.K.䀟  reason: contains not printable characters */
/* compiled from: AppCompatDialogFragment */
public class C1982 extends DialogInterface$OnCancelListenerC1529 {
    @Override // ῲ.Ԕ.K.DialogInterface$OnCancelListenerC1529
    public Dialog onCreateDialog(Bundle bundle) {
        return new DialogC1947(getContext(), getTheme());
    }

    @Override // ῲ.Ԕ.K.DialogInterface$OnCancelListenerC1529
    public void setupDialog(Dialog dialog, int i) {
        if (dialog instanceof DialogC1947) {
            DialogC1947 r0 = (DialogC1947) dialog;
            if (!(i == 1 || i == 2)) {
                if (i == 3) {
                    dialog.getWindow().addFlags(24);
                } else {
                    return;
                }
            }
            r0.supportRequestWindowFeature(1);
            return;
        }
        super.setupDialog(dialog, i);
    }
}
