[new downloader] Storage::GetChildrenInGroups(). Android build fix.

This commit is contained in:
Vladimir Byko-Ianko 2016-02-24 10:25:13 +03:00 committed by Sergey Yershov
parent 7198b60d65
commit 8458e3d125

View file

@ -192,11 +192,12 @@ Java_com_mapswithme_maps_downloader_MapManager_nativeListItems(JNIEnv * env, jcl
// TODO (trashkalmar): Countries near me
// Downloaded
vector<TCountryId> children;
storage.GetDownloadedChildren(parentId, children);
PutItemsToList(env, result, children, parentId, ItemCategory::DOWNLOADED);
TCountriesVec downloaded, available;
storage.GetChildrenInGroups(parentId, downloaded, available);
PutItemsToList(env, result, downloaded, parentId, ItemCategory::DOWNLOADED);
// All
TCountriesVec children;
storage.GetChildren(parentId, children);
PutItemsToList(env, result, children, parentId, ItemCategory::ALL);
}