am f45e4d55: am c7b28e74: am e5121f0e: am 86cb67b1: am 28c9590b: Merge "Ensure wakelock is released unconditionally." into lmp-dev
* commit 'f45e4d5535d1540c99b944e244e2720436d369f2': 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