Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fa2f004f authored by chaviw's avatar chaviw
Browse files

Add onPointerDownOutsideFocus for events outside the focused window (4/4)

Moved the logic that was handled in the TaskTapPointerEventListener that
handled switching displays when focus change into
WMS.onPointerDownOutsideFocus. The new method is called when InputDispatcher
notifies system server that a non focused window received a pointer down input
event. This allows WMS to check if the new window can receive focus before
changing display focus.

Test: Back button with ActivityView closes IME instead of entire
Activity.
Test: WindowFocusTests#testTapFocusableWindow,testTapNonFocusableWindow
Bug: 122535136

Change-Id: I4273ebc9b6d0eaf572864ad81461e6017053cfab
parent 29e5ea67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment