Commit bce5fe2f authored by Varun Patil's avatar Varun Patil

Prevent following user on map start

parent a0af458f
...@@ -324,6 +324,7 @@ public class MapFragment extends Fragment implements TextWatcher, ...@@ -324,6 +324,7 @@ public class MapFragment extends Fragment implements TextWatcher,
final LocationManager manager = (LocationManager) getActivity().getSystemService(Context.LOCATION_SERVICE ); final LocationManager manager = (LocationManager) getActivity().getSystemService(Context.LOCATION_SERVICE );
if (manager.isProviderEnabled(LocationManager.GPS_PROVIDER) ) { if (manager.isProviderEnabled(LocationManager.GPS_PROVIDER) ) {
locate(false); locate(false);
setFollowingUser(false);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment