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:
@@ -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
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user