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/LatencyAggregator.h b/services/inputflinger/dispatcher/LatencyAggregator.h index accfc29..60b6813 100644 --- a/services/inputflinger/dispatcher/LatencyAggregator.h +++ b/services/inputflinger/dispatcher/LatencyAggregator.h
@@ -56,7 +56,7 @@ */ void processTimeline(const InputEventTimeline& timeline) override; - std::string dump(const char* prefix); + std::string dump(const char* prefix) const; ~LatencyAggregator();