commit | 259328c04ce16c554b48a14f68d8af94dc54d7ec | [log] [tgz] |
---|---|---|
author | Craig Mautner <cmautner@google.com> | Tue Aug 21 19:30:58 2012 -0700 |
committer | Craig Mautner <cmautner@google.com> | Wed Aug 22 11:01:35 2012 -0700 |
tree | c2c25e4edb7b388d5b5dcb06948dd569a61f092c | |
parent | f9678070a03ad16d223d26a38b319d38d5943a71 [diff] |
Eliminate special battery calls by WindowManager Previous to this change the WindowManager was notifying the BatteryDtatsService about windows that keep the screen on. WM used a custom WakeLock tag to indicate to PowerManagerService that it had already notified the BatteryStatsService. This change eliminates WindowManager notifying the BatteryStatsService and lets PowerManagerService do the job. Fixes bug 7030326. Change-Id: I666dc6ef8f094b8d3d109fea6876be058e057b4f