Automated import from //branches/donutburger/...@141409,141409

This commit is contained in:
Joe Onorato
2009-03-24 20:13:57 -07:00
committed by The Android Open Source Project
parent 8a7dc17790
commit 64c62ba503

View File

@@ -929,6 +929,10 @@ class PowerManagerService extends IPowerManager.Stub implements LocalPowerManage
private void sendNotificationLocked(boolean on, int why)
{
if (!on) {
mStillNeedSleepNotification = false;
}
// Add to the queue.
int index = 0;
while (mBroadcastQueue[index] != -1) {