commit | ae4ff289d1ac2ac4f5a5b5bac9c4eb3b837a464b | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Tue Aug 23 16:21:39 2022 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Tue Aug 23 20:15:07 2022 +0000 |
tree | d00732b7e955a441dc3590f05143b0929b1450ef | |
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