summaryrefslogtreecommitdiff
path: root/include/input/Input.h
diff options
context:
space:
mode:
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.