From e2da4084a12368d022a217490af146bb9e3f5388 Mon Sep 17 00:00:00 2001 From: Harry Cutts Date: Fri, 2 Dec 2022 17:24:34 +0000 Subject: Add MULTI_FINGER_SWIPE motion classification Bug: 251196347 Test: check events received by a custom tester app, and touches shown by pointer location overlay Change-Id: Ice71843404400e73f8170ae108e2e2c89cc1d9bd --- native/android/input.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'native/android/input.cpp') diff --git a/native/android/input.cpp b/native/android/input.cpp index 812db0f1c507..5e5ebed78e61 100644 --- a/native/android/input.cpp +++ b/native/android/input.cpp @@ -297,6 +297,8 @@ int32_t AMotionEvent_getClassification(const AInputEvent* motion_event) { return AMOTION_EVENT_CLASSIFICATION_DEEP_PRESS; case android::MotionClassification::TWO_FINGER_SWIPE: return AMOTION_EVENT_CLASSIFICATION_TWO_FINGER_SWIPE; + case android::MotionClassification::MULTI_FINGER_SWIPE: + return AMOTION_EVENT_CLASSIFICATION_MULTI_FINGER_SWIPE; } } -- cgit v1.2.3-59-g8ed1b