Reputation: 302
I'm seeing that when a ContextMenu
is displaying, from using View.showContextMenu()
, the Activity
that contains the view isn't getting a chance to consume motion events in dispatchGenericMotionEvent(MotionEvent)
. I'm trying to consume events from a connected controller, and direct those inputs elsewhere, and it works fine in every case except when the menu is showing.
Is there another method within the activity to override and intercept the motion events that way?
Is this expected behavior, or a quirk of the phone I'm testing on?
Upvotes: 0
Views: 399