Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ee962900 authored by Lais Andrade's avatar Lais Andrade
Browse files

Extract battery saver and uid checks to VibrationSettings

Extract PowerManagerInternal.LowPowerModeListener and IUidObserver code
to VibrationSettings, exposing two new "shouldVibrateFor***" methods
called by both Vibrator and VibratorManager services.

Bug: 167946816
Bug: 131311651
Test: atest FrameworksServiceTests:VibratorServiceTest
      atest FrameworksServiceTests:VibrationSettingsTest
Change-Id: I20fa6df781fa394afcd61c2b79b826e430b01600
parent 61ddb947
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment