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

Skip to content
Commit 3cc9426d authored by riddle_hsu's avatar riddle_hsu Committed by Steve Kondik
Browse files

Run BatteryCallback on CpuTracker thread.

Because ProcessCpuTracker may take some time to read proc
stats, to have better response time of ActivityManager
(e.g. schedule broadcast), let callbacks batteryNeedsCpuUpdate
and batteryPowerChanged run on CpuTracker thread by using
CpuTrackerHandler for BatteryStatsImpl.

Change-Id: Ie088ded8b2c6834e913c30f560b490075a7a6dbe
parent 6ff3ff5b
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