Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Marchuk <alexm@maps.me>2016-03-18 16:03:52 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:57:00 +0300
commit9c539becfb6ac5ed75409e759392b79e7c343ac6 (patch)
tree8e131c58d4dc66b0b9a2cc25201bea627a30a125
parentb8367ec73f3c788e16a62162696da8bdd732ca43 (diff)
[new downloader][android] fix: Do not show downloading maps in "Near me" section.
-rw-r--r--android/jni/com/mapswithme/maps/MapManager.cpp2
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);
});
}