Merge "Only register stationary detector while idle" into sc-qpr1-dev am: 65f1d1a5e1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15639364

Change-Id: Iba7da7bb8e96ec0d5d8e4a639f3a928fcb736af4