package p023h0;

import android.content.Context;
import android.util.Log;
import android.view.MenuItem;
import android.view.SubMenu;
import android.view.View;

/* renamed from: h0.b */
/* loaded from: classes.dex */
public abstract class AbstractC0775b {

    /* renamed from: a */
    public final Context f2406a;

    /* renamed from: b */
    public InterfaceC0776a f2407b;

    /* renamed from: c */
    public InterfaceC0777b f2408c;

    /* renamed from: h0.b$a */
    /* loaded from: classes.dex */
    public interface InterfaceC0776a {
    }

    /* renamed from: h0.b$b */
    /* loaded from: classes.dex */
    public interface InterfaceC0777b {
        void onActionProviderVisibilityChanged(boolean z);
    }

    public AbstractC0775b(Context context) {
        this.f2406a = context;
    }

    /* renamed from: a */
    public boolean mo2408a() {
        return false;
    }

    /* renamed from: b */
    public boolean mo2404b() {
        return true;
    }

    /* renamed from: c */
    public abstract View mo2407c();

    /* renamed from: d */
    public View mo2403d(MenuItem menuItem) {
        return mo2407c();
    }

    /* renamed from: e */
    public boolean mo2406e() {
        return false;
    }

    /* renamed from: f */
    public void mo2405f(SubMenu subMenu) {
    }

    /* renamed from: g */
    public boolean mo2402g() {
        return false;
    }

    /* renamed from: h */
    public void m2932h() {
        this.f2408c = null;
        this.f2407b = null;
    }

    /* renamed from: i */
    public void m2931i(InterfaceC0776a interfaceC0776a) {
        this.f2407b = interfaceC0776a;
    }

    /* renamed from: j */
    public void mo2401j(InterfaceC0777b interfaceC0777b) {
        if (this.f2408c != null && interfaceC0777b != 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.f2408c = interfaceC0777b;
    }
}