Merge commit 'b2346324e5f6062fed7bdeaedb9cf968b05050ec' into eclair-mr2-plus-aosp * commit 'b2346324e5f6062fed7bdeaedb9cf968b05050ec': Do not advance mLastEventTime when enabling or disabling user activity.
This commit is contained in:
@@ -2079,7 +2079,6 @@ class PowerManagerService extends IPowerManager.Stub
|
|||||||
public void enableUserActivity(boolean enabled) {
|
public void enableUserActivity(boolean enabled) {
|
||||||
synchronized (mLocks) {
|
synchronized (mLocks) {
|
||||||
mUserActivityAllowed = enabled;
|
mUserActivityAllowed = enabled;
|
||||||
mLastEventTime = SystemClock.uptimeMillis(); // we might need to pass this in
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user