commit | 605ea69ab16dee2047ea43905a9b443896cde121 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Fri Oct 05 16:33:10 2012 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Fri Oct 05 16:33:10 2012 -0700 |
tree | 243600c324c58f38bad246dfbe8e3cfaa65b8960 | |
parent | 6aaf29589b5fbe24721740e71b272c4a830b69e7 [diff] |
Fix a deadlock involving BatteryService. The PowerManager may call into the BatteryService while holding its locks. We need to be careful that the BatteryService doesn't call into other services, particularly the ActivityManager while holding its own locks. Bug: 7298218 Change-Id: Ibf8ab13224f204a9857825265e864f93583bce8e