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

Commit 510e8cdc authored by Jeff Brown's avatar Jeff Brown Committed by Android (Google) Code Review
Browse files

Merge "Ensure wakelock is released unconditionally." into lmp-dev

parents cbd333b2 a273924b
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
                }
            });
        }