forked from organicmaps/organicmaps
[new downloader] Fixed Android build
This commit is contained in:
parent
9d3975a8b4
commit
a97dbc71c5
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue