Re-register SMD after motion detected.
One shot sensors need to be re-registered after they've been triggered. Since DeviceIdleController wasn't doing that, we weren't properly tracking motion to inform stationary listeners. This change makes sure to re-register the motion sensor after some time to make sure motion is properly tracked. Bug: 140162457 Test: atest com.android.server.DeviceIdleControllerTest Change-Id: I8600a8382b7c773be9e200afba96a7f1a74f6e10
Loading
Please register or sign in to comment