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

Commit e6d40536 authored by Ryan Prichard's avatar Ryan Prichard Committed by Android (Google) Code Review
Browse files

Merge "inputflinger: avoid vector<const T>" into aosp-main-future

parents f5e5a6d1 bd5c270b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -65,10 +65,10 @@ private:
        void onEventProcessingComplete(nsecs_t processingTimestamp);

        InputTracer& tracer;
        std::vector<const TracedEvent> events;
        std::vector<TracedEvent> events;
        bool isEventProcessingComplete{false};
        // A queue to hold dispatch args from being traced until event processing is complete.
        std::vector<const WindowDispatchArgs> pendingDispatchArgs;
        std::vector<WindowDispatchArgs> pendingDispatchArgs;
        // The metadata should not be modified after event processing is complete.
        TracedEventMetadata metadata{};
    };