commit | 4c9d6ffc779d430aa83f9eabb4317df6222fd4f8 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Tue Apr 18 11:23:20 2023 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Wed Apr 19 01:09:21 2023 +0000 |
tree | e936b2881551a3e2ec9408d6bdf234edb25ff61a | |
parent | 5f141a031189c6b5dfec5c866dbbd594a577d4c0 [diff] [blame] |
Add const annotations to dispatcher These allow us to dump the dispatcher state from other const dispatcher methods. Bug: 274073185 Test: m Change-Id: I483d957b243bca595c147656d8305fdc4f43fb33
diff --git a/services/inputflinger/dispatcher/LatencyTracker.h b/services/inputflinger/dispatcher/LatencyTracker.h index 64dfeef..4212da8 100644 --- a/services/inputflinger/dispatcher/LatencyTracker.h +++ b/services/inputflinger/dispatcher/LatencyTracker.h
@@ -55,7 +55,7 @@ void trackGraphicsLatency(int32_t inputEventId, const sp<IBinder>& connectionToken, std::array<nsecs_t, GraphicsTimeline::SIZE> timeline); - std::string dump(const char* prefix); + std::string dump(const char* prefix) const; private: /**