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

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

Merge change Ieca126e6 into eclair

* changes:
  Fix problem with proximity sensor not reawaking screen if the values change too quickly.
parents b6a6791f 952211b4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1803,6 +1803,8 @@ class PowerManagerService extends IPowerManager.Stub
    }

    private void forceUserActivityLocked() {
        // cancel animation so userActivity will succeed
        mScreenBrightness.animating = false;
        boolean savedActivityAllowed = mUserActivityAllowed;
        mUserActivityAllowed = true;
        userActivity(SystemClock.uptimeMillis(), false);