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

Skip to content
Commit b92ff23b authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

Rename MonitoredDeviceState to DeviceMonitor

Also:
- Don't make InputDevicesChangedListener part of the BatteryController
  interface, since it's not used for testing.
- Report a copy of the battery state when notifying components outside
  of BatteryController, becuase reporting a member object would
  leak the internal state to other components.
- Explicitly mark all interface methods as public.

Bug: 243005009
Test: atest FrameworkServicesTests
Test: atest FrameworkCoreTests

Change-Id: Iefa08f4f1b52b8dd48dc273e90e90c92d15d4ed4
parent 8605f83e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment