diff options
author | Jeff Brown <jeffbrown@google.com> | 2014-09-22 22:30:22 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2014-09-23 09:38:04 -0700 |
commit | a273924b8c47c9b1d5f74ae82a594451514ba5dd (patch) | |
tree | e8e1d48cc1ac7300114c2bbeea45e2f635613b80 /packages/SystemUI/src/com/android/systemui/doze | |
parent | acc0d6de530fd8d2a938fa2c663036da0621be70 (diff) | |
download | frameworks_base-a273924b8c47c9b1d5f74ae82a594451514ba5dd.zip frameworks_base-a273924b8c47c9b1d5f74ae82a594451514ba5dd.tar.gz frameworks_base-a273924b8c47c9b1d5f74ae82a594451514ba5dd.tar.bz2 |
Ensure wakelock is released unconditionally.
Bug: 17610254
Change-Id: I8b846c867edaa5038e34d4c857550735b121a1d9
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/doze')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/doze/DozeService.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 } }); } |