Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a27adc82 authored by Ryan Prichard's avatar Ryan Prichard Committed by Automerger Merge Worker
Browse files

Merge "inputflinger: avoid vector<const T>" into main am: 5dd9afa2 am: 0f0123f8

parents 5b0bdd2c 0f0123f8
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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();