summaryrefslogtreecommitdiff
path: root/include/input/InputVerifier.h
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2023-06-28 15:57:47 -0700
committer Siarhei Vishniakou <svv@google.com> 2023-07-04 20:39:21 +0000
commit1160ecdfa295225f9eec1a20212746e412ca5c29 (patch)
tree2ea1233163568350bf6013397f0b8bb5031581de /include/input/InputVerifier.h
parent556a811bacebb21be966fd22d36d0a3c64eb5cd6 (diff)
Add hovering support to verifier
In order to allow fuzzing of dispatcher, we need to be able to avoid incorrect hover sequences sent to the listener. Add hovering support for verifier in this CL. Bug: 211379801 Test: TEST=inputflinger_tests; m $TEST && $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST Change-Id: If7ee8ecb62044768915acc4657029366e193c6db
Diffstat (limited to 'include/input/InputVerifier.h')
-rw-r--r--include/input/InputVerifier.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/input/InputVerifier.h b/include/input/InputVerifier.h
index 3715408388..b8574829f3 100644
--- a/include/input/InputVerifier.h
+++ b/include/input/InputVerifier.h
@@ -51,6 +51,8 @@ public:
const PointerProperties* pointerProperties,
const PointerCoords* pointerCoords, int32_t flags);
+ void resetDevice(int32_t deviceId);
+
private:
rust::Box<android::input::verifier::InputVerifier> mVerifier;
};