commit | eb6da9d0faeaf8a357b0476d3abde5ac6c4de712 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Wed Mar 09 13:17:14 2022 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Tue Apr 05 12:21:11 2022 +0000 |
tree | 24d4ba35f452bcee1867812b86c2f36f9f34b770 | |
parent | e10d88b66c61abddf7f3b15af4068e513c5b0a27 [diff] |
InputManagerService: Refactor native methods to be testable We move the native methods of InputManagerService to a separate class and interface, which allows it to be mocked for unit testing. We also add an Injector class to allow for test depenedency injection. Bug: 195528323 Test: build and flash Change-Id: I9ae42a85addeac5ccf1aa1ed23956bdabd615531