diff options
author | Yifan Hong <elsk@google.com> | 2019-08-16 13:20:57 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2019-08-16 13:40:43 -0700 |
commit | 7ceb724d0f792897e66fca8566fcabca969c5b57 (patch) | |
tree | 9a7804cbc23e9a90cb6c144761331af99e06e12b /startop/scripts/lib/print_utils.py | |
parent | ce98a32755d817a0163bdff2fea5a1f6245f5c80 (diff) |
BatteryService: scheduleUpdate asynchronously
IBatteryPropertiesRegistrar.scheduleUpdate calls IHealth.update()
asynchronously.
BatteryStatsImpl calls scheduleUpdate while holding a lock, which
may lead to deadlocks if the remote process calls back to the
framework.
Fixes: 139503418
Test: monitor HealthScheduleUpdate trace points
Change-Id: I8168d7c4e4a0b1d31343360d2c7f6d36c7aa692a
Diffstat (limited to 'startop/scripts/lib/print_utils.py')
0 files changed, 0 insertions, 0 deletions