Go to file
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
build Increase growth limit from 64m to 80m for 1024mb hdpi tablet 2014-12-11 13:40:37 -08:00
cmds Installd: Take boot status as dexopt parameter 2015-09-21 13:21:30 -07:00
data/etc Add XML for pro audio feature 2015-08-27 20:09:39 -07:00
docs framework/native/docs: remove doc footer for jd output 2015-05-27 10:13:35 -07:00
include Add new MotionEvent flag for partially obscured windows. 2016-04-21 19:11:18 -07:00
libs Fix issue #27252896: Security Vulnerability -- weak binder 2016-03-25 17:47:54 -07:00
opengl egl: Remove window disconnect before calling driver eglDestroySurface 2015-10-14 11:21:25 -07:00
services Add new MotionEvent flag for partially obscured windows. 2016-04-21 19:11:18 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00