From a273924b8c47c9b1d5f74ae82a594451514ba5dd Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Mon, 22 Sep 2014 22:30:22 -0700 Subject: Ensure wakelock is released unconditionally. Bug: 17610254 Change-Id: I8b846c867edaa5038e34d4c857550735b121a1d9 --- packages/SystemUI/src/com/android/systemui/doze/DozeService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/SystemUI/src/com/android/systemui/doze') diff --git a/packages/SystemUI/src/com/android/systemui/doze/DozeService.java b/packages/SystemUI/src/com/android/systemui/doze/DozeService.java index b07e993..6cc890b 100644 --- a/packages/SystemUI/src/com/android/systemui/doze/DozeService.java +++ b/packages/SystemUI/src/com/android/systemui/doze/DozeService.java @@ -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 } }); } -- cgit v1.1