package X6FRs_4.KQgRr5e_0.YghfZG_14.XnFJ5_9;

import X6FRs_4.IMuAHx_6.EuDEkJe_12.QxJ9d_1;
import X6FRs_4.KQgRr5e_0.YghfZG_14.XnFJ5_9.Nm6q_10;
import android.content.Context;
import android.view.ActionProvider;
import android.view.MenuItem;
import android.view.View;
/* compiled from: MenuItemWrapperJB.java */
/* loaded from: classes.dex */
public class KNBe_11 extends Nm6q_10 {

    /* compiled from: MenuItemWrapperJB.java */
    /* loaded from: classes.dex */
    public class KQgRr5e_0 extends Nm6q_10.KQgRr5e_0 implements ActionProvider.VisibilityListener {
        public QxJ9d_1.InterfaceC0037QxJ9d_1 QxJ9d_1;

        public KQgRr5e_0(KNBe_11 kNBe_11, Context context, ActionProvider actionProvider) {
            super(context, actionProvider);
        }

        @Override // X6FRs_4.IMuAHx_6.EuDEkJe_12.QxJ9d_1
        public View KQgRr5e_0(MenuItem menuItem) {
            return ((Nm6q_10.KQgRr5e_0) this).f908KQgRr5e_0.onCreateActionView(menuItem);
        }

        @Override // X6FRs_4.IMuAHx_6.EuDEkJe_12.QxJ9d_1
        public boolean Mqv2r_3() {
            return ((Nm6q_10.KQgRr5e_0) this).f908KQgRr5e_0.overridesItemVisibility();
        }

        @Override // X6FRs_4.IMuAHx_6.EuDEkJe_12.QxJ9d_1
        public boolean QxJ9d_1() {
            return ((Nm6q_10.KQgRr5e_0) this).f908KQgRr5e_0.isVisible();
        }

        @Override // android.view.ActionProvider.VisibilityListener
        public void onActionProviderVisibilityChanged(boolean z) {
            QxJ9d_1.InterfaceC0037QxJ9d_1 interfaceC0037QxJ9d_1 = this.QxJ9d_1;
            if (interfaceC0037QxJ9d_1 != null) {
                interfaceC0037QxJ9d_1.onActionProviderVisibilityChanged(z);
            }
        }

        @Override // X6FRs_4.IMuAHx_6.EuDEkJe_12.QxJ9d_1
        public void KQgRr5e_0(QxJ9d_1.InterfaceC0037QxJ9d_1 interfaceC0037QxJ9d_1) {
            this.QxJ9d_1 = interfaceC0037QxJ9d_1;
            ((Nm6q_10.KQgRr5e_0) this).f908KQgRr5e_0.setVisibilityListener(interfaceC0037QxJ9d_1 != null ? this : null);
        }
    }

    public KNBe_11(Context context, X6FRs_4.IMuAHx_6.IMuAHx_6.KQgRr5e_0.QxJ9d_1 qxJ9d_1) {
        super(context, qxJ9d_1);
    }

    @Override // X6FRs_4.KQgRr5e_0.YghfZG_14.XnFJ5_9.Nm6q_10
    public Nm6q_10.KQgRr5e_0 KQgRr5e_0(ActionProvider actionProvider) {
        return new KQgRr5e_0(this, ((PGPF6hQ_2) this).KQgRr5e_0, actionProvider);
    }
}
