diff --git a/app/src/main/java/pl/tpolgrabia/urbanexplorer/callbacks/StandardLocationListener.java b/app/src/main/java/pl/tpolgrabia/urbanexplorer/callbacks/StandardLocationListener.java index ddb2214..5bd675d 100644 --- a/app/src/main/java/pl/tpolgrabia/urbanexplorer/callbacks/StandardLocationListener.java +++ b/app/src/main/java/pl/tpolgrabia/urbanexplorer/callbacks/StandardLocationListener.java @@ -26,7 +26,7 @@ public class StandardLocationListener implements LocationListener { @Override public void onLocationChanged(Location location) { lg.info("Location provider changed: {}", location); - Toast.makeText(ctx, "Location changed " + location, Toast.LENGTH_LONG).show(); + // Toast.makeText(ctx, "Location changed " + location, Toast.LENGTH_LONG).show(); LocationUtils.updateLastLocationUPdate(ctx); EventBus.getDefault().post( new LocationChangedEventBuilder() @@ -37,7 +37,7 @@ public class StandardLocationListener implements LocationListener { @Override public void onStatusChanged(String provider, int status, Bundle extras) { lg.debug("Location provider {} status has changed to {} with {}", provider, status, extras); - Toast.makeText(ctx, "Location provider " + provider + " status changed to " + status, Toast.LENGTH_LONG).show(); + // Toast.makeText(ctx, "Location provider " + provider + " status changed to " + status, Toast.LENGTH_LONG).show(); } @Override diff --git a/app/src/main/java/pl/tpolgrabia/urbanexplorer/fragments/PlacesFragment.java b/app/src/main/java/pl/tpolgrabia/urbanexplorer/fragments/PlacesFragment.java index 462933d..76ae2cb 100644 --- a/app/src/main/java/pl/tpolgrabia/urbanexplorer/fragments/PlacesFragment.java +++ b/app/src/main/java/pl/tpolgrabia/urbanexplorer/fragments/PlacesFragment.java @@ -159,11 +159,11 @@ public class PlacesFragment extends Fragment { return; } - Toast.makeText(getActivity(), - String.format(AppConstants.DEF_APP_LOCALE, - "Location changed: %.3f,%.3f", - location.getLatitude(), location.getLongitude()), - Toast.LENGTH_SHORT).show(); +// Toast.makeText(getActivity(), +// String.format(AppConstants.DEF_APP_LOCALE, +// "Location changed: %.3f,%.3f", +// location.getLatitude(), location.getLongitude()), +// Toast.LENGTH_SHORT).show(); cleanAdapter();