package p000.p001.p002.p012.p013;

import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import ar.tvplayer.core.data.prefs.ރ;
import ar.tvplayer.core.domain.ލ;
import p000.p001.p002.p008.p009.C0775;
import p000.p001.p002.p012.C1067;
import p000.p001.p002.p012.C1068;
import p000.p001.p002.p012.C1069;
import p402.C6549;
import p402.InterfaceC6540;
import p402.p411.p413.C6635;

/* JADX INFO: renamed from: ނ.֏.֏.ށ.֏.ވ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
@InterfaceC6540
public final class C1004 extends C0775 {

    /* JADX INFO: renamed from: ނ.֏.֏.ށ.֏.ވ$֏, reason: contains not printable characters */
    public static final class DialogInterfaceOnClickListenerC1005 implements DialogInterface.OnClickListener {

        /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
        public final /* synthetic */ View f3882;

        public DialogInterfaceOnClickListenerC1005(View view) {
            this.f3882 = view;
        }

        @Override // android.content.DialogInterface.OnClickListener
        public final void onClick(DialogInterface dialogInterface, int i) {
            ރ r5 = ރ.ߠ;
            View viewFindViewById = this.f3882.findViewById(C1067.cbDontShowAgain);
            C6635.m9823((Object) viewFindViewById, "dialogView.findViewById<…ox>(R.id.cbDontShowAgain)");
            boolean z = !((CheckBox) viewFindViewById).isChecked();
            if (r5 == null) {
                throw null;
            }
            boolean zBooleanValue = Boolean.valueOf(z).booleanValue();
            ރ r6 = ރ.ߠ;
            if (r6 == null) {
                throw null;
            }
            ރ.і.m9836(r6, ރ.ށ[168], Boolean.valueOf(zBooleanValue));
            C6549 c6549 = C6549.f19328;
            Fragment fragment = C1004.this.mParentFragment;
            C0977 c0977 = (C0977) (fragment instanceof C0977 ? fragment : null);
            if (c0977 != null) {
                c0977.m2346();
            }
        }
    }

    @Override // p000.p001.p002.p008.p009.C0775, p037.p089.p090.DialogInterfaceOnCancelListenerC1992, androidx.fragment.app.Fragment
    public /* synthetic */ void onDestroyView() {
        super.onDestroyView();
    }

    @Override // p037.p089.p090.DialogInterfaceOnCancelListenerC1992
    @SuppressLint({"InflateParams"})
    /* JADX INFO: renamed from: ֏ */
    public Dialog mo1839(Bundle bundle) {
        View viewInflate = LayoutInflater.from(getContext()).inflate(C1068.dialog_optional, (ViewGroup) null);
        ((TextView) viewInflate.findViewById(C1067.tvMessage)).setText(C1069.tv_guide_full_scan_message);
        AlertDialog alertDialogCreate = new AlertDialog.Builder(requireContext()).setView(viewInflate).setPositiveButton(C1069.tv_guide_full_scan, new DialogInterfaceOnClickListenerC1005(viewInflate)).setNegativeButton(C1069.cancel, (DialogInterface.OnClickListener) null).create();
        C6635.m9823((Object) alertDialogCreate, "AlertDialog.Builder(requ…ll)\n            .create()");
        ލ.֏(alertDialogCreate);
        return alertDialogCreate;
    }

    @Override // p000.p001.p002.p008.p009.C0775
    /* JADX INFO: renamed from: މ */
    public void mo1840() {
    }
}
