diff options
author | Alexander Marchuk <alexm@maps.me> | 2016-03-18 16:03:52 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:57:00 +0300 |
commit | 9c539becfb6ac5ed75409e759392b79e7c343ac6 (patch) | |
tree | 8e131c58d4dc66b0b9a2cc25201bea627a30a125 | |
parent | b8367ec73f3c788e16a62162696da8bdd732ca43 (diff) |
[new downloader][android] fix: Do not show downloading maps in "Near me" section.
-rw-r--r-- | android/jni/com/mapswithme/maps/MapManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/jni/com/mapswithme/maps/MapManager.cpp b/android/jni/com/mapswithme/maps/MapManager.cpp index 5650fbbc54..f0702d0e15 100644 --- a/android/jni/com/mapswithme/maps/MapManager.cpp +++ b/android/jni/com/mapswithme/maps/MapManager.cpp @@ -296,7 +296,7 @@ Java_com_mapswithme_maps_downloader_MapManager_nativeListItems(JNIEnv * env, jcl g_framework->NativeFramework()->CountryInfoGetter().GetRegionsCountryId(MercatorBounds::FromLatLon(lat, lon), near); PutItemsToList(env, result, near, ItemCategory::NEAR_ME, [](TCountryId const & countryId, NodeAttrs const & attrs) -> bool { - return !attrs.m_present; + return (attrs.m_status == NodeStatus::NotDownloaded); }); } |