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

Commit 54ffb2d1 authored by Lais Andrade's avatar Lais Andrade
Browse files

Remove dependency on PowerManagerService from BatteryStatsService

Use helper class PowerHalLoader from native/powermanager/services to
load Power HALs v1.0 and 1.1.

Refactor: add 'Locked' sufix and mutex comment to every method from
BatteryStatsService that implicitly requires a lock on the mutex to be
held from the calling site.

Bug: 150878220
Test: atest powermanager_test
Change-Id: I46b6a24511ed26787758f2bb8f2cab0b2da31e67
parent d2e03060
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