Merge change Ieca126e6 into eclair
* changes: Fix problem with proximity sensor not reawaking screen if the values change too quickly.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user