diff options
| author | 2022-08-23 16:21:39 +0000 | |
|---|---|---|
| committer | 2022-08-23 20:15:07 +0000 | |
| commit | ae4ff289d1ac2ac4f5a5b5bac9c4eb3b837a464b (patch) | |
| tree | d00732b7e955a441dc3590f05143b0929b1450ef /libs/gui/ConsumerBase.cpp | |
| parent | cb42b4719fc24da4bc0b5a008e87ff1a350ff9b7 (diff) | |
Improve EventHub const-correctness
Ensure that all methods that "get" state from event hub are
const-correct. While some "set" methods can also be const in event hub
because they write to the system (side effect) instead of changing
state, we leave these as non-const to make it easier for testing.
Bug: None
Test: atest inputflinger_tests
Change-Id: I086b50458203a2395b1960e2bc1102610a3c0801
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions