[new downloader] Fixed Android build

This commit is contained in:
Constantin Shalnev 2016-02-17 14:00:11 +03:00 committed by Sergey Yershov
parent 9d3975a8b4
commit a97dbc71c5

View file

@ -89,7 +89,7 @@ JNIEXPORT jobject JNICALL
Java_com_mapswithme_maps_downloader_MapManager_nativeGetUpdateInfo(JNIEnv * env, jclass clazz)
{
static Storage::UpdateInfo info = { 0 };
if (!GetStorage().GetUpdateInfo(info))
if (!GetStorage().GetUpdateInfo(GetStorage().GetRootId(), info))
return nullptr;
static jclass const infoClass = jni::GetGlobalClassRef(env, "com/mapswithme/maps/downloader/UpdateInfo");