diff options
author | 2024-09-12 16:32:00 +0000 | |
---|---|---|
committer | 2024-09-12 16:32:00 +0000 | |
commit | 5dd9afa2fb8c3b1ca6347bff3bd38fc05fb969f5 (patch) | |
tree | d11a7a31bcf5e58e1c25a30acf81663b410b2e78 | |
parent | cfe1e76d5cd02c691a5fc802192b76edb1dc65ef (diff) | |
parent | a1e5831856d72fcd6deba1f7eb123f152edda597 (diff) |
Merge "inputflinger: avoid vector<const T>" into main
-rw-r--r-- | services/inputflinger/tests/InputTracingTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/services/inputflinger/tests/InputTracingTest.cpp b/services/inputflinger/tests/InputTracingTest.cpp index 2ccd93ec4c..3cc4bdd79e 100644 --- a/services/inputflinger/tests/InputTracingTest.cpp +++ b/services/inputflinger/tests/InputTracingTest.cpp @@ -133,8 +133,8 @@ protected: mDispatcher->setFocusedWindow(request); } - void tapAndExpect(const std::vector<const sp<FakeWindowHandle>>& windows, - Level inboundTraceLevel, Level dispatchTraceLevel, InputTraceSession& s) { + void tapAndExpect(const std::vector<sp<FakeWindowHandle>>& windows, Level inboundTraceLevel, + Level dispatchTraceLevel, InputTraceSession& s) { const auto down = MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) .pointer(PointerBuilder(0, ToolType::FINGER).x(100).y(110)) .build(); @@ -156,7 +156,7 @@ protected: } } - void keypressAndExpect(const std::vector<const sp<FakeWindowHandle>>& windows, + void keypressAndExpect(const std::vector<sp<FakeWindowHandle>>& windows, Level inboundTraceLevel, Level dispatchTraceLevel, InputTraceSession& s) { const auto down = KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).build(); |