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

Commit a40bd508 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change Icdb3d036 into eclair

* changes:
  Don't trigger user activity in screenOnStoppedLw() if the screen is off.
parents 6f2da1e5 47e5023e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2221,7 +2221,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
    }
    
    public void screenOnStoppedLw() {
        if (!mKeyguardMediator.isShowing()) {
        if (!mKeyguardMediator.isShowing() && mPowerManager.isScreenOn()) {
            long curTime = SystemClock.uptimeMillis();
            mPowerManager.userActivity(curTime, false, LocalPowerManager.OTHER_EVENT);
        }