package net.kevxu.senselib;

import android.content.Context;
import android.location.Location;

public class Sense {

	private static final String TAG = "Sense";

	private Context mContext;
	private LocationService mLocationService;
	private OrientationService mOrientationService;

	// private StepDetector mStepDetector;

	public interface SenseListener {
		public void onLocationChanged(Location location);
	}

	public Sense(Context context) throws SensorNotAvailableException {
		mContext = context;
		mLocationService = new LocationService(mContext);
		mOrientationService = new OrientationService(mContext);
		// mStepDetector = new StepDetector(mContext);

	}

	/**
	 * Call this when pause.
	 */
	public void stop() {
		// mStepDetector.stop();
	}

	/**
	 * Call this when resume.
	 */
	public void start() {
		// mStepDetector.start();
	}

}

@@ -280,49 +280,8 @@
 e;%0A%0A
-%09// private StepDetector mStepDetector;%0A%0A
 %09pub
@@ -569,57 +569,8 @@
 xt);
-%0A%09%09// mStepDetector = new StepDetector(mContext);
 %0A%0A%09%7D
@@ -633,35 +633,9 @@
 ) %7B%0A
-%09%09// mStepDetector.stop();
 %0A
+
 %09%7D%0A%0A
@@ -698,35 +698,8 @@
 ) %7B%0A
-%09%09// mStepDetector.start();
 %0A%09%7D%0A

Remove StepDetector from Sense.