Use EVIOCSCLOCKID correctly.
Bug: 6382031 Change-Id: I87b0887ce867a79758bcd24e2202280270faaf8c
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user