SensorEventListener not unregistering itself
问题 I have been developing an application which needs to perform accelerometer calibration in several steps. What I have done, is create a SensorEventListener that gets a certain amount of readings, and after that amount is reached, I call 'sensorManager().unregisterListener(eventListener)'. However, I think this line is not unregistering the listener, since immediately afterwards, the same line is called, as a result of continuing to run. Question: am I doing things properly this way, or should