commit | 356026cfba3ffaadbb767e4353aa1b6f0004877c | [log] [tgz] |
---|---|---|
author | Seunghwan Choi <sbee.choi@samsung.corp-partner.google.com> | Wed Feb 01 14:37:25 2023 +0900 |
committer | Prabir Pradhan <prabirmsp@google.com> | Thu Feb 02 18:10:10 2023 +0000 |
tree | 2d690c287b74dc678cee76f2df7d2d6dbebf71c7 | |
parent | 2de48e444c13ef4b81ad55931b72594b6a9c56ff [diff] [blame] |
Add testcase for StylusPointer add testcases for styluspointer Test: atest inputflinger_tests Bug: b/215436642 Change-Id: I898f2af2ba81ef4048281baf105fcbba6269ec47
diff --git a/services/inputflinger/tests/FakeInputReaderPolicy.cpp b/services/inputflinger/tests/FakeInputReaderPolicy.cpp index bb8a30e..30c1719 100644 --- a/services/inputflinger/tests/FakeInputReaderPolicy.cpp +++ b/services/inputflinger/tests/FakeInputReaderPolicy.cpp
@@ -205,6 +205,10 @@ mConfig.stylusButtonMotionEventsEnabled = enabled; } +void FakeInputReaderPolicy::setStylusPointerIconEnabled(bool enabled) { + mConfig.stylusPointerIconEnabled = enabled; +} + void FakeInputReaderPolicy::getReaderConfiguration(InputReaderConfiguration* outConfig) { *outConfig = mConfig; }