Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a273924b authored by Jeff Brown's avatar Jeff Brown
Browse files

Ensure wakelock is released unconditionally.

Bug: 17610254
Change-Id: I8b846c867edaa5038e34d4c857550735b121a1d9
parent acc0d6de
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
                }
            });
        }