package m;

import android.os.Build;
import android.util.Log;
import android.widget.PopupWindow;
import java.lang.reflect.Method;

/* JADX INFO: renamed from: m.s0, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0881s0 extends AbstractC0870m0 implements InterfaceC0872n0 {
    public static final Method J;
    public k3.g I;

    static {
        try {
            if (Build.VERSION.SDK_INT <= 28) {
                J = PopupWindow.class.getDeclaredMethod("setTouchModal", Boolean.TYPE);
            }
        } catch (NoSuchMethodException unused) {
            Log.i("MenuPopupWindow", "Could not find method setTouchModal() on PopupWindow. Oh well.");
        }
    }

    @Override // m.InterfaceC0872n0
    public final void d(l.h hVar, l.i iVar) {
        k3.g gVar = this.I;
        if (gVar != null) {
            gVar.d(hVar, iVar);
        }
    }

    @Override // m.InterfaceC0872n0
    public final void e(l.h hVar, l.i iVar) {
        k3.g gVar = this.I;
        if (gVar != null) {
            gVar.e(hVar, iVar);
        }
    }
}
