am 8e1b84e7: Merge "Some battery improvements:" into gingerbread

Merge commit '8e1b84e7654ddeeb77a03f5eca10c6669b1cb42b' into gingerbread-plus-aosp

* commit '8e1b84e7654ddeeb77a03f5eca10c6669b1cb42b':
  Some battery improvements:
This commit is contained in:
Dianne Hackborn
2010-09-20 16:34:45 -07:00
committed by Android Git Automerger
5 changed files with 107 additions and 20 deletions

View File

@@ -8317,6 +8317,11 @@ public class WindowManagerService extends IWindowManager.Stub
return;
}
if (mDisplay == null) {
// Not yet initialized, nothing to do.
return;
}
boolean recoveringMemory = false;
if (mForceRemoves != null) {
recoveringMemory = true;