Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsentiy Milchakov <milcars@mapswithme.com>2019-06-05 19:57:04 +0300
committerAleksandr Zatsepin <alexzatsepin@users.noreply.github.com>2019-06-06 14:39:37 +0300
commit71182322c10ce984ec3b55983251c9ccabdd1cdf (patch)
treed53ec6b330fc8128f4c5aa53d59564fc3a8e6b1c /android
parent1e7797a6ef956c31176b92952a7ec09713283316 (diff)
[promo api] error callback is added into promo api
Diffstat (limited to 'android')
-rw-r--r--android/jni/com/mapswithme/maps/Framework.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/jni/com/mapswithme/maps/Framework.cpp b/android/jni/com/mapswithme/maps/Framework.cpp
index f44408d0ef..5fce1442d6 100644
--- a/android/jni/com/mapswithme/maps/Framework.cpp
+++ b/android/jni/com/mapswithme/maps/Framework.cpp
@@ -809,6 +809,7 @@ void Framework::GetPromoCityGallery(JNIEnv * env, jobject policy, jstring id,
if (api == nullptr)
return;
+ api->GetCityGallery(jni::ToNativeString(env, id), onSuccess, onError);
}
void Framework::LogLocalAdsEvent(local_ads::EventType type, double lat, double lon, uint16_t accuracy)