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

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

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

* commit '86cb67b199e22136f461a4798bed32c98e6e145c':
  Ensure wakelock is released unconditionally.
parents 00e28744 47b32c56
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
                }
                }
            });
            });
        }
        }