summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ryan Prichard <rprichard@google.com> 2024-09-12 16:32:00 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-09-12 16:32:00 +0000
commit5dd9afa2fb8c3b1ca6347bff3bd38fc05fb969f5 (patch)
treed11a7a31bcf5e58e1c25a30acf81663b410b2e78
parentcfe1e76d5cd02c691a5fc802192b76edb1dc65ef (diff)
parenta1e5831856d72fcd6deba1f7eb123f152edda597 (diff)
Merge "inputflinger: avoid vector<const T>" into main
-rw-r--r--services/inputflinger/tests/InputTracingTest.cpp6
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();