replicant-frameworks_native/services/inputflinger
Michael Wright 03a53d1c77 Add new MotionEvent flag for partially obscured windows.
Due to more complex window layouts resulting in lots of overlapping
windows, the policy around FLAG_WINDOW_IS_OBSCURED has changed to
only be set when the point at which the window was touched is
obscured. Unfortunately, this doesn't prevent tapjacking attacks that
overlay the dialog's text, making a potentially dangerous operation
seem innocuous. To avoid this on particularly sensitive dialogs,
introduce a new flag that really does tell you when your window is
being even partially overlapped.

We aren't exposing this as API since we plan on making the original
flag more robust. This is really a workaround for system dialogs
since we generally know their layout and screen position, and that
they're unlikely to be overlapped by other applications.

Bug: 26677796
Change-Id: I9e336afe90f262ba22015876769a9c510048fd47
2016-04-21 19:11:18 -07:00
..
host DO NOT MERGE Revert "am f37143d8: Merge "Cancel touches as well as pointer gestures." into mnc-dev" 2015-09-22 22:05:48 +01:00
tests Inputflinger: hook up key event replacement processing 2015-09-29 13:27:16 -07:00
Android.mk Move inputflinger process to host directory 2015-02-23 16:04:57 -08:00
EventHub.cpp Inputflinger: hook up key event replacement processing 2015-09-29 13:27:16 -07:00
EventHub.h Inputflinger: hook up key event replacement processing 2015-09-29 13:27:16 -07:00
InputApplication.cpp Move inputservice over to frameworks/native 2014-02-11 10:47:14 -08:00
InputApplication.h Move inputservice over to frameworks/native 2014-02-11 10:47:14 -08:00
InputDispatcher.cpp Add new MotionEvent flag for partially obscured windows. 2016-04-21 19:11:18 -07:00
InputDispatcher.h Add new MotionEvent flag for partially obscured windows. 2016-04-21 19:11:18 -07:00
InputListener.cpp Revert "Revert "Add new MotionEvent actions for button press and release."" 2015-05-14 14:48:03 +01:00
InputListener.h Revert "Revert "Add new MotionEvent actions for button press and release."" 2015-05-14 14:48:03 +01:00
InputManager.cpp Move inputservice over to frameworks/native 2014-02-11 10:47:14 -08:00
InputManager.h Move inputservice over to frameworks/native 2014-02-11 10:47:14 -08:00
InputReader.cpp Inputflinger: hook up key event replacement processing 2015-09-29 13:27:16 -07:00
InputReader.h Inputflinger: hook up key event replacement processing 2015-09-29 13:27:16 -07:00
InputWindow.cpp Add new MotionEvent flag for partially obscured windows. 2016-04-21 19:11:18 -07:00
InputWindow.h Add new MotionEvent flag for partially obscured windows. 2016-04-21 19:11:18 -07:00
PointerControllerInterface.h Move inputservice over to frameworks/native 2014-02-11 10:47:14 -08:00