diff options
author | Roman Romanov <rromanov@65gb.net> | 2017-07-24 16:06:43 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-07-26 13:23:59 +0300 |
commit | 32a9400a4b8c500adcdc3b143b6b2975f82b5eb5 (patch) | |
tree | 526fb072071fd9efefbec21ab209c9016b007265 /android/src/com/mapswithme/maps/search/SearchFragment.java | |
parent | ea114dc7b0d90e5c95d1755780116a0a04a8018f (diff) |
[android] Review fixes
Diffstat (limited to 'android/src/com/mapswithme/maps/search/SearchFragment.java')
-rw-r--r-- | android/src/com/mapswithme/maps/search/SearchFragment.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/src/com/mapswithme/maps/search/SearchFragment.java b/android/src/com/mapswithme/maps/search/SearchFragment.java index 53ca6b7249..26f55ca768 100644 --- a/android/src/com/mapswithme/maps/search/SearchFragment.java +++ b/android/src/com/mapswithme/maps/search/SearchFragment.java @@ -25,6 +25,7 @@ import com.mapswithme.maps.MwmApplication; import com.mapswithme.maps.R; import com.mapswithme.maps.base.BaseMwmFragment; import com.mapswithme.maps.base.OnBackPressListener; +import com.mapswithme.maps.bookmarks.data.FeatureId; import com.mapswithme.maps.bookmarks.data.MapObject; import com.mapswithme.maps.downloader.CountrySuggestFragment; import com.mapswithme.maps.downloader.MapManager; @@ -464,7 +465,7 @@ public class SearchFragment extends BaseMwmFragment if (RoutingController.get().isWaitingPoiPick()) { SearchResult.Description description = result.description; - final MapObject point = new MapObject("", 0L, 0, MapObject.SEARCH, result.name, "", + final MapObject point = new MapObject(FeatureId.EMPTY, MapObject.SEARCH, result.name, "", description != null ? description.featureType : "", "", result.lat, result.lon, "", null, null, "", null, null); RoutingController.get().onPoiSelected(point); |