Merge "Fix wakelock leak in PowerManagerService.sendNotificationLocked()" into froyo
This commit is contained in:
committed by
Android (Google) Code Review
commit
93597ed183
@@ -1125,6 +1125,8 @@ class PowerManagerService extends IPowerManager.Stub
|
||||
mBroadcastQueue[0] = on ? 1 : 0;
|
||||
mBroadcastQueue[1] = -1;
|
||||
mBroadcastQueue[2] = -1;
|
||||
mBroadcastWakeLock.release();
|
||||
mBroadcastWakeLock.release();
|
||||
index = 0;
|
||||
}
|
||||
if (index == 1 && !on) {
|
||||
|
||||
Reference in New Issue
Block a user