diff options
| author | 2024-08-08 22:48:00 +0000 | |
|---|---|---|
| committer | 2024-08-08 22:48:00 +0000 | |
| commit | e6d4053630a5791040e6582eb0679c893483d79e (patch) | |
| tree | c1b88d6dc96a6c9152090992f7d26b61442e384f | |
| parent | f5e5a6d15020f39638f1c9e1d2503c99014184b8 (diff) | |
| parent | bd5c270b2d7a2bb1b3ab6b8749c064842bd96da3 (diff) | |
Merge "inputflinger: avoid vector<const T>" into aosp-main-future
| -rw-r--r-- | services/inputflinger/dispatcher/trace/InputTracer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/inputflinger/dispatcher/trace/InputTracer.h b/services/inputflinger/dispatcher/trace/InputTracer.h index cb525a4a92..96e619c10d 100644 --- a/services/inputflinger/dispatcher/trace/InputTracer.h +++ b/services/inputflinger/dispatcher/trace/InputTracer.h @@ -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{}; }; |