@Override public void onLocationChanged(Location location) { if (isLocationAcceptable(location)) { removeUpdates(); reportLocationFound(location); } }
@Override public void onStop() { removeUpdates(); }
@Override protected void onDestroy() { mMyLocationManager.removeUpdates(); super.onDestroy(); }