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:
authorАлександр Зацепин <az@mapswithme.com>2017-10-06 14:22:46 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2017-10-09 15:33:38 +0300
commita3d8d886cefacd4515c232bb3f1b98c620c41812 (patch)
treea5ac6303c65ac9c975521886a8e2cc94b7412c8a /android
parentcba112f8e7154958e27a5acbc48b2c8b92003c8e (diff)
[android] Fixed build
Diffstat (limited to 'android')
-rw-r--r--android/jni/com/mapswithme/maps/UserMarkHelper.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/android/jni/com/mapswithme/maps/UserMarkHelper.cpp b/android/jni/com/mapswithme/maps/UserMarkHelper.cpp
index a1315eb96e..989a965117 100644
--- a/android/jni/com/mapswithme/maps/UserMarkHelper.cpp
+++ b/android/jni/com/mapswithme/maps/UserMarkHelper.cpp
@@ -135,7 +135,7 @@ jobject CreateMapObject(JNIEnv * env, place_page::Info const & info)
static_cast<jint>(bac.m_bookmarkIndex), jTitle.get(), jSecondaryTitle.get(), jSubtitle.get(),
jAddress.get(), jbanners.get(), jTaxiTypes.get(), jBookingSearchUrl.get(),
localAdInfo.get(), routingPointInfo.get(), info.IsPreviewExtended(), info.ShouldShowUGC(),
- info.ShouldShowUGCRating());
+ info.CanBeRated());
if (info.IsFeature())
InjectMetadata(env, g_mapObjectClazz, mapObject, info.GetMetadata());
@@ -152,7 +152,7 @@ jobject CreateMapObject(JNIEnv * env, place_page::Info const & info)
info.GetSecondaryTitle(), info.GetSubtitle(), ll.lat, ll.lon,
info.GetAddress(), {}, "", jbanners.get(), jTaxiTypes.get(),
info.GetBookingSearchUrl(), localAdInfo.get(), routingPointInfo.get(),
- info.IsPreviewExtended(), info.ShouldShowUGC(), info.ShouldShowUGCRating());
+ info.IsPreviewExtended(), info.ShouldShowUGC(), info.CanBeRated());
}
if (info.HasApiUrl())
@@ -162,7 +162,7 @@ jobject CreateMapObject(JNIEnv * env, place_page::Info const & info)
kApiPoint, info.GetTitle(), info.GetSecondaryTitle(), info.GetSubtitle(), ll.lat, ll.lon,
info.GetAddress(), info.GetMetadata(), info.GetApiUrl(), jbanners.get(), jTaxiTypes.get(),
info.GetBookingSearchUrl(), localAdInfo.get(), routingPointInfo.get(), info.IsPreviewExtended(),
- info.ShouldShowUGC(), info.ShouldShowUGCRating());
+ info.ShouldShowUGC(), info.CanBeRated());
}
return CreateMapObject(
@@ -170,7 +170,7 @@ jobject CreateMapObject(JNIEnv * env, place_page::Info const & info)
info.GetTitle(), info.GetSecondaryTitle(), info.GetSubtitle(), ll.lat, ll.lon,
info.GetAddress(), info.IsFeature() ? info.GetMetadata() : Metadata(), "", jbanners.get(),
jTaxiTypes.get(), info.GetBookingSearchUrl(), localAdInfo.get(), routingPointInfo.get(),
- info.IsPreviewExtended(), info.ShouldShowUGC(), info.ShouldShowUGCRating());
+ info.IsPreviewExtended(), info.ShouldShowUGC(), info.CanBeRated());
}
jobjectArray ToBannersArray(JNIEnv * env, vector<ads::Banner> const & banners)