| commit | a75fe05b6e0728ada82cd18dc3ac1ae3a61a10fb | [log] [tgz] |
|---|---|---|
| author | Jeff Brown <jeffbrown@google.com> | Tue May 01 18:41:26 2012 -0700 |
| committer | Jeff Brown <jeffbrown@google.com> | Tue May 01 18:41:26 2012 -0700 |
| tree | 348ba26557db84e165c32abeee6027153b56edd2 | |
| parent | daa3753a04699724d2cfe824ac1f5a266d643a05 [diff] [blame] |
Use EVIOCSCLOCKID correctly. Bug: 6382031 Change-Id: I87b0887ce867a79758bcd24e2202280270faaf8c
diff --git a/services/java/com/android/server/PowerManagerService.java b/services/java/com/android/server/PowerManagerService.java index 5ec1fa5..5799f2b 100644 --- a/services/java/com/android/server/PowerManagerService.java +++ b/services/java/com/android/server/PowerManagerService.java
@@ -2709,6 +2709,12 @@ } 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;