package androidx.appcompat.app; import android.app.Dialog; import android.os.Bundle; import androidx.fragment.app.DialogFragment; import o.JRt; /* loaded from: classes.dex */ public class AppCompatDialogFragment extends DialogFragment { @Override // androidx.fragment.app.DialogFragment public Dialog onCreateDialog(Bundle bundle) { return new JRt(getContext(), getTheme()); } @Override // androidx.fragment.app.DialogFragment public void setupDialog(Dialog dialog, int i) { if (dialog instanceof JRt) { JRt jRt = (JRt) dialog; if (i != 1 && i != 2) { if (i != 3) { return; } else { dialog.getWindow().addFlags(24); } } jRt.b(1); return; } super.setupDialog(dialog, i); } }