Use EVIOCSCLOCKID correctly.

Bug: 6382031
Change-Id: I87b0887ce867a79758bcd24e2202280270faaf8c
This commit is contained in:
Jeff Brown
2012-05-01 18:41:26 -07:00
parent daa3753a04
commit a75fe05b6e
2 changed files with 8 additions and 1 deletions

View File

@ -2709,6 +2709,12 @@ public class PowerManagerService extends IPowerManager.Stub
}
private void goToSleepLocked(long time, int reason) {
if (mSpew) {
Exception ex = new Exception();
ex.fillInStackTrace();
Slog.d(TAG, "goToSleep mLastEventTime=" + mLastEventTime + " time=" + time
+ " reason=" + reason, ex);
}
if (mLastEventTime <= time) {
mLastEventTime = time;