diff options
author | chaviw <chaviw@google.com> | 2019-03-25 13:48:58 -0700 |
---|---|---|
committer | chaviw <chaviw@google.com> | 2019-04-02 14:38:54 -0700 |
commit | fa2f004fee00ee8534e8efcac2d8ad97c72cfbbd (patch) | |
tree | 781d7a7dd3ebbad132012c4111884347258c6a01 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 29e5ea6741605fcc7699163a1cf36a3b9a042dd5 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions