summaryrefslogtreecommitdiff
path: root/include/android/input.h
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2025-02-05 08:59:40 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2025-02-05 08:59:40 -0800
commit1a25e57a649f6198bdff99a590551f875baccf00 (patch)
treea9efadf6200be062a1855032b227c95a93535f53 /include/android/input.h
parentc95ea8177e9a6f1b8a768fe1adb66406c6ac5c3f (diff)
parent26640c99888043d5f41b5e209bb96efe76b7ef9e (diff)
Merge "InputVerifier: verify button events and states (attempt 2)" into main
Diffstat (limited to 'include/android/input.h')
-rw-r--r--include/android/input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/android/input.h b/include/android/input.h
index ee98d7aee9..5f445509fa 100644
--- a/include/android/input.h
+++ b/include/android/input.h
@@ -849,6 +849,7 @@ enum {
* Refer to the documentation on the MotionEvent class for descriptions of each button.
*/
enum {
+ // LINT.IfChange(AMOTION_EVENT_BUTTON)
/** primary */
AMOTION_EVENT_BUTTON_PRIMARY = 1 << 0,
/** secondary */
@@ -861,6 +862,7 @@ enum {
AMOTION_EVENT_BUTTON_FORWARD = 1 << 4,
AMOTION_EVENT_BUTTON_STYLUS_PRIMARY = 1 << 5,
AMOTION_EVENT_BUTTON_STYLUS_SECONDARY = 1 << 6,
+ // LINT.ThenChange(/frameworks/native/libs/input/rust/input.rs)
};
/**