forked from organicmaps/organicmaps
[android] Fixed not-compiled C++ method
This commit is contained in:
parent
5790affffb
commit
c53365d01e
2 changed files with 3 additions and 3 deletions
android/jni/com/mapswithme/maps
|
@ -801,7 +801,7 @@ uint64_t Framework::GetLocals(JNIEnv * env, jobject policy, double lat, double l
|
|||
return api->GetLocals(lat, lon, langStr, kResultsOnPage, kPageNumber, successFn, errorFn);
|
||||
}
|
||||
|
||||
void Framework::GetPromoCityGallery(JNIEnv * env, jobject policy, jstring id,
|
||||
void Framework::GetPromoCityGallery(JNIEnv * env, jobject policy, m2::PointD const & point,
|
||||
promo::CityGalleryCallback const & onSuccess,
|
||||
promo::OnError const & onError)
|
||||
{
|
||||
|
@ -809,7 +809,7 @@ void Framework::GetPromoCityGallery(JNIEnv * env, jobject policy, jstring id,
|
|||
if (api == nullptr)
|
||||
return;
|
||||
|
||||
api->GetCityGallery(jni::ToNativeString(env, id), languages::GetCurrentNorm(), onSuccess,
|
||||
api->GetCityGallery(point, languages::GetCurrentNorm(), onSuccess,
|
||||
onError);
|
||||
}
|
||||
|
||||
|
|
|
@ -219,7 +219,7 @@ namespace android
|
|||
uint64_t GetLocals(JNIEnv * env, jobject policy, double lat, double lon,
|
||||
locals::LocalsSuccessCallback const & successFn,
|
||||
locals::LocalsErrorCallback const & errorFn);
|
||||
void GetPromoCityGallery(JNIEnv * env, jobject policy, jstring id,
|
||||
void GetPromoCityGallery(JNIEnv * env, jobject policy, m2::PointD const & point,
|
||||
promo::CityGalleryCallback const & onSuccess,
|
||||
promo::OnError const & onError);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue