diff options
| author | 2021-06-15 21:50:38 +0000 | |
|---|---|---|
| committer | 2021-06-15 21:50:38 +0000 | |
| commit | 9473f5563afd11e0d202b4bff7f4beb53008dd1e (patch) | |
| tree | cdea1be57f466ebf2fd2dad825bde1e2ef2e0a98 /include/input/Input.h | |
| parent | c71ee4b1418fd1d4b401755a77acfe6641cc6dad (diff) | |
| parent | 5d552c4b7fffb63d9bc4c26ca222d43bb57b359d (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.h | 6 |
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. |