public void stop(){
  if ((mProxSensor == null) || !mIsActive) {
    return;
  }
  LogUtils.log(this,Log.VERBOSE,"Proximity sensor stopped at %d.",System.currentTimeMillis());
  mIsActive=false;
  mSensorManager.unregisterListener(mListener);
}

public void stop ( ) { if ( ( mProxSensor == null ) || ! mIsActive ) { return ; } LogUtils . log ( this , Log . VERBOSE , "Proximity sensor stopped at %d." , System . currentTimeMillis ( ) ) ; mIsActive = false ; mSensorManager . unregisterListener ( mListener ) ; }
stops listening for sensor events .
