Merge "Bring back the sensing alarm. We need it!"
This commit is contained in:
committed by
Android (Google) Code Review
commit
780318180f
@@ -1500,7 +1500,7 @@ public class DeviceIdleController extends SystemService
|
||||
mState = STATE_SENSING;
|
||||
if (DEBUG) Slog.d(TAG, "Moved from STATE_IDLE_PENDING to STATE_SENSING.");
|
||||
EventLogTags.writeDeviceIdle(mState, "step");
|
||||
cancelAlarmLocked();
|
||||
scheduleAlarmLocked(mConstants.SENSING_TIMEOUT, false);
|
||||
cancelLocatingLocked();
|
||||
mAnyMotionDetector.checkForAnyMotion();
|
||||
mNotMoving = false;
|
||||
|
||||
Reference in New Issue
Block a user