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

Commit 47b32c56 authored by Jeff Brown's avatar Jeff Brown Committed by Android Git Automerger
Browse files

am 28c9590b: Merge "Ensure wakelock is released unconditionally." into lmp-dev

* commit '28c9590b90215230b65d98c4d816e0d776a07540':
  Ensure wakelock is released unconditionally.
parents 004b7a3f 510e8cdc
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -199,8 +199,8 @@ public class DozeService extends DreamService {
                    if (mPulsing && mDreaming) {
                    if (mPulsing && mDreaming) {
                        mPulsing = false;
                        mPulsing = false;
                        turnDisplayOff();
                        turnDisplayOff();
                        mWakeLock.release();
                    }
                    }
                    mWakeLock.release(); // needs to be unconditional to balance acquire
                }
                }
            });
            });
        }
        }