+181
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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