replicant-frameworks_native/services
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
..
batteryservice Show charging speed on Keyguard 2015-07-10 13:10:13 -07:00
inputflinger Add new MotionEvent flag for partially obscured windows. 2016-04-21 19:11:18 -07:00
powermanager Frameworks/native: Wall Werror in batteryservice & powermanager 2014-11-13 14:31:11 -08:00
sensorservice Avoiding flush on-change sensors at subscription 2015-10-27 21:46:40 +00:00
surfaceflinger SF: Add colorTransform to DisplayInfo 2015-08-31 13:41:24 -07:00