diff --git a/android/app/src/main/cpp/app/organicmaps/UserMarkHelper.cpp b/android/app/src/main/cpp/app/organicmaps/UserMarkHelper.cpp index b4fd15e70f..7c4dc611b9 100644 --- a/android/app/src/main/cpp/app/organicmaps/UserMarkHelper.cpp +++ b/android/app/src/main/cpp/app/organicmaps/UserMarkHelper.cpp @@ -165,12 +165,13 @@ jobject CreateElevationInfo(JNIEnv * env, ElevationInfo const & info) "[Lapp/organicmaps/bookmarks/data/ElevationInfo$Point;" "IIIIIJ)V"); jni::TScopedLocalObjectArrayRef jPoints(env, ToElevationPointArray(env, info.GetPoints())); + // TODO (KK): elevation info should have only the elevation data - see the https://github.com/organicmaps/organicmaps/pull/10063 return env->NewObject(g_elevationInfoClazz, ctorId, jPoints.get(), - static_cast(info.GetAscent()), - static_cast(info.GetDescent()), - static_cast(info.GetMinAltitude()), - static_cast(info.GetMaxAltitude()), +// static_cast(info.GetAscent()), +// static_cast(info.GetDescent()), +// static_cast(info.GetMinAltitude()), +// static_cast(info.GetMaxAltitude()), static_cast(info.GetDifficulty())); }