summaryrefslogtreecommitdiff
path: root/include/input/Input.h
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2021-06-15 21:50:38 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-06-15 21:50:38 +0000
commit9473f5563afd11e0d202b4bff7f4beb53008dd1e (patch)
treecdea1be57f466ebf2fd2dad825bde1e2ef2e0a98 /include/input/Input.h
parentc71ee4b1418fd1d4b401755a77acfe6641cc6dad (diff)
parent5d552c4b7fffb63d9bc4c26ca222d43bb57b359d (diff)
Merge "Use the injected device id for events that are a11y trusted" into sc-dev
Diffstat (limited to 'include/input/Input.h')
-rw-r--r--include/input/Input.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h
index d4defa8269..7d936baf7a 100644
--- a/include/input/Input.h
+++ b/include/input/Input.h
@@ -24,6 +24,7 @@
*/
#include <android/input.h>
+#include <android/os/IInputConstants.h>
#include <math.h>
#include <stdint.h>
#include <ui/Transform.h>
@@ -220,6 +221,11 @@ enum {
POLICY_FLAG_RAW_MASK = 0x0000ffff,
+ POLICY_FLAG_INPUTFILTER_TRUSTED = android::os::IInputConstants::POLICY_FLAG_INPUTFILTER_TRUSTED,
+
+ POLICY_FLAG_INJECTED_FROM_ACCESSIBILITY =
+ android::os::IInputConstants::POLICY_FLAG_INJECTED_FROM_ACCESSIBILITY,
+
/* These flags are set by the input dispatcher. */
// Indicates that the input event was injected.