commit | 16625d3f9601d2558511b462dec0cb732aad6b7a | [log] [tgz] |
---|---|---|
author | Harry Cutts <hcutts@google.com> | Wed Jan 25 14:20:24 2023 +0000 |
committer | Harry Cutts <hcutts@google.com> | Tue Jan 31 18:04:25 2023 +0000 |
tree | d6383ff1f35740422685a8dd44c160fc3b2193e6 | |
parent | 4ab33a94137bfad877c6717027f779da2cef165f [diff] |
Extract InputSettingsObserver from InputManagerService The code to observe settings changes and pass them down the stack is quite bulky and repetitive. Extracting it to a separate class makes InputManagerService a little less unwieldy, and we can refactor it a bit to use a map of observers to make the code less verbose. Bug: 251196347 Test: atest inputflinger_tests Test: change settings values and check the changes are applied Change-Id: Ic94b311aed7281aedd86fc6dffbe56104cf90297