Step counter doesn't reset the step count
问题 I am able to start and stop recording steps with the Sensor.TYPE_STEP_COUNTER by registering and unregistering the listener. However, the actual value that is passed to my app via the SensorEvent object does not reset to zero when the application is destroyed. If I close the app and restart it, or even if I recompile my app with updates, the counter picks up where it left off. If I run other apps that use the step counter sensor, they independently count their steps and reset their counter.