summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@cyngn.com>2016-06-07 10:10:09 -0700
committerJessica Wagantall <jwagantall@cyngn.com>2016-06-07 10:10:09 -0700
commit508eb7749a4ce988d4d1a97377254add24b9bc40 (patch)
tree9f14950e50cde8816d07350fb645011d5da57377 /include
parent6500d428ce816ffa0ba099221a4987ad7bfcb4ab (diff)
parent03a53d1c7765eeb3af0bc34c3dff02ada1953fbf (diff)
downloadframeworks_native-508eb7749a4ce988d4d1a97377254add24b9bc40.zip
frameworks_native-508eb7749a4ce988d4d1a97377254add24b9bc40.tar.gz
frameworks_native-508eb7749a4ce988d4d1a97377254add24b9bc40.tar.bz2
Merge tag 'android-6.0.1_r46' into HEAD
Android 6.0.1 release 46 # gpg: Signature made Mon 06 Jun 2016 10:38:23 AM PDT using DSA key ID 9AB10E78 # gpg: Can't check signature: public key not found
Diffstat (limited to 'include')
-rw-r--r--include/input/Input.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h
index 617175b..82fc659 100644
--- a/include/input/Input.h
+++ b/include/input/Input.h
@@ -45,6 +45,19 @@ enum {
};
enum {
+
+ /**
+ * This flag indicates that the window that received this motion event is partly
+ * or wholly obscured by another visible window above it. This flag is set to true
+ * even if the event did not directly pass through the obscured area.
+ * A security sensitive application can check this flag to identify situations in which
+ * a malicious application may have covered up part of its content for the purpose
+ * of misleading the user or hijacking touches. An appropriate response might be
+ * to drop the suspect touches or to take additional precautions to confirm the user's
+ * actual intent.
+ */
+ AMOTION_EVENT_FLAG_WINDOW_IS_PARTIALLY_OBSCURED = 0x2,
+
/* Motion event is inconsistent with previously sent motion events. */
AMOTION_EVENT_FLAG_TAINTED = 0x80000000,
};