Skip to content

Commit 5dd9afa

Browse files
rprichardGerrit Code Review
authored andcommitted
Merge "inputflinger: avoid vector<const T>" into main
2 parents cfe1e76 + a1e5831 commit 5dd9afa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

services/inputflinger/tests/InputTracingTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ class InputTracingTest : public testing::Test {
133133
mDispatcher->setFocusedWindow(request);
134134
}
135135

136-
void tapAndExpect(const std::vector<const sp<FakeWindowHandle>>& windows,
137-
Level inboundTraceLevel, Level dispatchTraceLevel, InputTraceSession& s) {
136+
void tapAndExpect(const std::vector<sp<FakeWindowHandle>>& windows, Level inboundTraceLevel,
137+
Level dispatchTraceLevel, InputTraceSession& s) {
138138
const auto down = MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN)
139139
.pointer(PointerBuilder(0, ToolType::FINGER).x(100).y(110))
140140
.build();
@@ -156,7 +156,7 @@ class InputTracingTest : public testing::Test {
156156
}
157157
}
158158

159-
void keypressAndExpect(const std::vector<const sp<FakeWindowHandle>>& windows,
159+
void keypressAndExpect(const std::vector<sp<FakeWindowHandle>>& windows,
160160
Level inboundTraceLevel, Level dispatchTraceLevel,
161161
InputTraceSession& s) {
162162
const auto down = KeyArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_KEYBOARD).build();

0 commit comments

Comments
 (0)