Skip to content
Commit a890d285 authored by Kweku Adams's avatar Kweku Adams
Browse files

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
parent 0508340d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment