From: Gustavo Martin Morcuende Date: Sun, 16 Nov 2014 15:49:40 +0000 (+0100) Subject: WeatherInformation: remove TODO from MapActivity X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=8fe8d44ab5eace65487b68d5374d69264f9030ac;p=JavaForFun WeatherInformation: remove TODO from MapActivity --- diff --git a/Android/WeatherInformation/app/src/main/java/name/gumartinm/weather/information/activity/MapActivity.java b/Android/WeatherInformation/app/src/main/java/name/gumartinm/weather/information/activity/MapActivity.java index 6f4ae7f..d6a89dd 100644 --- a/Android/WeatherInformation/app/src/main/java/name/gumartinm/weather/information/activity/MapActivity.java +++ b/Android/WeatherInformation/app/src/main/java/name/gumartinm/weather/information/activity/MapActivity.java @@ -56,7 +56,6 @@ public class MapActivity extends FragmentActivity implements // Google Play Services Map private GoogleMap mMap; - // TODO: read and store from different threads? Hopefully always from UI thread. private Marker mMarker; private LocationManager mLocationManager; @@ -396,7 +395,6 @@ public class MapActivity extends FragmentActivity implements @Override public void onLocationChanged(final Location location) { // It was called from onClickGetLocation (UI thread) This method will run in the same thread (the UI thread) - // so, I do no think there should be any problem. // Display the current location in the UI // TODO: May location not be null?