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
Loading
Please register or sign in to comment