From 35071d8aeebdc1e3cb634d121709e1692f3031e4 Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Fri, 18 May 2012 12:50:38 -0400 Subject: [PATCH] Fixed Marking location with Mark Location Button closes #59 Signed-off-by: Ricky Barrette --- .../ui/fragments/LocationInfomationFragment.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/LocationRinger/src/com/TwentyCodes/android/LocationRinger/ui/fragments/LocationInfomationFragment.java b/LocationRinger/src/com/TwentyCodes/android/LocationRinger/ui/fragments/LocationInfomationFragment.java index 07eab30..8e16103 100644 --- a/LocationRinger/src/com/TwentyCodes/android/LocationRinger/ui/fragments/LocationInfomationFragment.java +++ b/LocationRinger/src/com/TwentyCodes/android/LocationRinger/ui/fragments/LocationInfomationFragment.java @@ -95,7 +95,7 @@ public class LocationInfomationFragment extends Fragment implements GeoPointLoca switch (v.getId()){ case R.id.mark_my_location: if(this.mPoint != null){ - this.mRadiusOverlay.setLocation(mPoint); + onLocationSelected(mPoint); this.mMap.setMapCenter(mPoint); } break; @@ -131,8 +131,6 @@ public class LocationInfomationFragment extends Fragment implements GeoPointLoca @Override public void onLocationChanged(GeoPoint point, int accuracy) { this.mPoint = point; - - } /*