commit | 64c62ba503c73eee1fb647ffcc1b3df287640ab1 | [log] [tgz] |
---|---|---|
author | Joe Onorato | Tue Mar 24 20:13:57 2009 -0700 |
committer | The Android Open Source Project <initial-contribution@android.com> | Tue Mar 24 20:13:57 2009 -0700 |
tree | 7859fc4f6feadfc587531448dde61bafaa73a3e4 | |
parent | 8a7dc17790b7f24e8e819eca46d14c4471230eba [diff] [blame] |
Automated import from //branches/donutburger/...@141409,141409
diff --git a/services/java/com/android/server/PowerManagerService.java b/services/java/com/android/server/PowerManagerService.java index 2fac5f7..a900b3e 100644 --- a/services/java/com/android/server/PowerManagerService.java +++ b/services/java/com/android/server/PowerManagerService.java
@@ -929,6 +929,10 @@ private void sendNotificationLocked(boolean on, int why) { + if (!on) { + mStillNeedSleepNotification = false; + } + // Add to the queue. int index = 0; while (mBroadcastQueue[index] != -1) {