am e5121f0e: am 86cb67b1: am 28c9590b: Merge "Ensure wakelock is released unconditionally." into lmp-dev

* commit 'e5121f0e6ab3303f22c7db8925db907d95bc82aa':
  Ensure wakelock is released unconditionally.
This commit is contained in:
Jeff Brown
2014-09-23 17:12:03 +00:00
committed by Android Git Automerger

View File

@@ -199,8 +199,8 @@ public class DozeService extends DreamService {
if (mPulsing && mDreaming) {
mPulsing = false;
turnDisplayOff();
mWakeLock.release();
}
mWakeLock.release(); // needs to be unconditional to balance acquire
}
});
}