extras/location/src/main/java/com/stanfy/enroscar/location/LocationBinder.java
public void stopListening() {
    if (locationManager == null) { return; }
    if (DEBUG) { Log.d(TAG, "Stop location listening..."); }
    if (listener != null) {
      listener.onLocationStop();
    }
    myHandler.removeMessages(MSG_STOP_FINE_PROVIDER);
    locationManager.removeUpdates(coarseListener);
    locationManager.removeUpdates(fineListener);
    locationManager = null;
  }
public void stopListening() {
    if (locationManager == null) { return; }
    if (DEBUG) { Log.d(TAG, "Stop location listening..."); }
    if (listener != null) {
      listener.onLocationStop();
    }
    myHandler.removeMessages(MSG_STOP_FINE_PROVIDER);
    locationManager.removeUpdates(coarseListener);
    locationManager.removeUpdates(fineListener);
    locationManager = null;
  }
public void stopListening ( ) { if ( locationManager == null ) { return ; } if ( DEBUG ) { Log . d ( TAG , "Stop location listening..." ) ; } if ( listener != null ) { listener . onLocationStop ( ) ; } myHandler . removeMessages ( MSG_STOP_FINE_PROVIDER ) ; locationManager . removeUpdates ( coarseListener ) ; locationManager . removeUpdates ( fineListener ) ; locationManager = null ; }
Stop updates.
Stop updates .