package defpackage;

import android.app.Dialog;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.window.OnBackInvokedDispatcher;
import ar.tvplayer.tv.R;

/* renamed from: ˋᵕʼⁱ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public class DialogC1493 extends Dialog implements InterfaceC3985, InterfaceC0757 {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final ᵶˉᵹʣ f6012;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public C4171 f6013;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final C2430 f6014;

    public DialogC1493(Context context, int i) {
        super(context, i);
        this.f6012 = new ᵶˉᵹʣ(new C5347(this, new ᵬᵮˎ(14, this)));
        this.f6014 = new C2430(new RunnableC3566(10, this));
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public static void m4422(DialogC1493 dialogC1493) {
        super.onBackPressed();
    }

    @Override // android.app.Dialog
    public void addContentView(View view, ViewGroup.LayoutParams layoutParams) {
        m4423();
        super.addContentView(view, layoutParams);
    }

    @Override // android.app.Dialog
    public final void onBackPressed() {
        this.f6014.m6210();
    }

    @Override // android.app.Dialog
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        if (Build.VERSION.SDK_INT >= 33) {
            OnBackInvokedDispatcher onBackInvokedDispatcher = getOnBackInvokedDispatcher();
            C2430 c2430 = this.f6014;
            c2430.f9479 = onBackInvokedDispatcher;
            c2430.m6211(c2430.f9480);
        }
        this.f6012.ᵮᵠـˌ(bundle);
        C4171 c4171 = this.f6013;
        if (c4171 == null) {
            c4171 = new C4171(this);
            this.f6013 = c4171;
        }
        c4171.m9084(EnumC3315.ON_CREATE);
    }

    @Override // android.app.Dialog
    public final Bundle onSaveInstanceState() {
        Bundle bundleOnSaveInstanceState = super.onSaveInstanceState();
        this.f6012.ᵧـˌᵎ(bundleOnSaveInstanceState);
        return bundleOnSaveInstanceState;
    }

    @Override // android.app.Dialog
    public final void onStart() {
        super.onStart();
        C4171 c4171 = this.f6013;
        if (c4171 == null) {
            c4171 = new C4171(this);
            this.f6013 = c4171;
        }
        c4171.m9084(EnumC3315.ON_RESUME);
    }

    @Override // android.app.Dialog
    public void onStop() {
        C4171 c4171 = this.f6013;
        if (c4171 == null) {
            c4171 = new C4171(this);
            this.f6013 = c4171;
        }
        c4171.m9084(EnumC3315.ON_DESTROY);
        this.f6013 = null;
        super.onStop();
    }

    @Override // android.app.Dialog
    public void setContentView(int i) {
        m4423();
        super.setContentView(i);
    }

    @Override // android.app.Dialog
    public void setContentView(View view) {
        m4423();
        super.setContentView(view);
    }

    @Override // android.app.Dialog
    public void setContentView(View view, ViewGroup.LayoutParams layoutParams) {
        m4423();
        super.setContentView(view, layoutParams);
    }

    @Override // defpackage.InterfaceC3985
    /* renamed from: ˆᵼᵷˊ */
    public final C4171 mo2484() {
        C4171 c4171 = this.f6013;
        if (c4171 != null) {
            return c4171;
        }
        C4171 c41712 = new C4171(this);
        this.f6013 = c41712;
        return c41712;
    }

    @Override // defpackage.InterfaceC0757
    /* renamed from: ᵤᵙᵷ */
    public final C5553 mo2487() {
        return (C5553) this.f6012.ᵿʗᵝʽ;
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final void m4423() {
        getWindow().getDecorView().setTag(R.id._11_res_0x7f0b0444, this);
        getWindow().getDecorView().setTag(R.id._11_res_0x7f0b0445, this);
        getWindow().getDecorView().setTag(R.id._11_res_0x7f0b0446, this);
    }
}
