package X6FRs_4.IMuAHx_6.EuDEkJe_12;

import android.content.Context;
import android.util.Log;
import android.view.MenuItem;
import android.view.SubMenu;
import android.view.View;
/* compiled from: ActionProvider.java */
/* loaded from: classes.dex */
public abstract class QxJ9d_1 {
    public KQgRr5e_0 KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public InterfaceC0037QxJ9d_1 f384KQgRr5e_0;

    /* compiled from: ActionProvider.java */
    /* loaded from: classes.dex */
    public interface KQgRr5e_0 {
        void KQgRr5e_0(boolean z);
    }

    /* compiled from: ActionProvider.java */
    /* renamed from: X6FRs_4.IMuAHx_6.EuDEkJe_12.QxJ9d_1$QxJ9d_1  reason: collision with other inner class name */
    /* loaded from: classes.dex */
    public interface InterfaceC0037QxJ9d_1 {
        void onActionProviderVisibilityChanged(boolean z);
    }

    public QxJ9d_1(Context context) {
    }

    public abstract View KQgRr5e_0();

    public View KQgRr5e_0(MenuItem menuItem) {
        return KQgRr5e_0();
    }

    public void KQgRr5e_0(SubMenu subMenu) {
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public boolean m242KQgRr5e_0() {
        return false;
    }

    public boolean Mqv2r_3() {
        return false;
    }

    public boolean PGPF6hQ_2() {
        return false;
    }

    public boolean QxJ9d_1() {
        return true;
    }

    public void KQgRr5e_0(boolean z) {
        KQgRr5e_0 kQgRr5e_0 = this.KQgRr5e_0;
        if (kQgRr5e_0 != null) {
            kQgRr5e_0.KQgRr5e_0(z);
        }
    }

    public void KQgRr5e_0(KQgRr5e_0 kQgRr5e_0) {
        this.KQgRr5e_0 = kQgRr5e_0;
    }

    public void KQgRr5e_0(InterfaceC0037QxJ9d_1 interfaceC0037QxJ9d_1) {
        if (this.f384KQgRr5e_0 != null && interfaceC0037QxJ9d_1 != null) {
            Log.w("ActionProvider(support)", "setVisibilityListener: Setting a new ActionProvider.VisibilityListener when one is already set. Are you reusing this " + getClass().getSimpleName() + " instance while it is still in use somewhere else?");
        }
        this.f384KQgRr5e_0 = interfaceC0037QxJ9d_1;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public void m241KQgRr5e_0() {
        this.f384KQgRr5e_0 = null;
        this.KQgRr5e_0 = null;
    }
}
