[new downloader][android] fix: Do not show downloading maps in "Near me" section.

This commit is contained in:
Alexander Marchuk 2016-03-18 16:03:52 +03:00 committed by Sergey Yershov
parent b8367ec73f
commit 9c539becfb

View file

@ -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);
});
}