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: Ic712e46bdc9d107d56cea3bce72c2e7b2187530a Merged-In: I8600a8382b7c773be9e200afba96a7f1a74f6e10
Loading
Please register or sign in to comment