[android] Attached jni layer for isolines

This commit is contained in:
Dmitry Donskoy 2020-01-21 13:30:04 +03:00 committed by Daria Volvenkova
parent c03e3a54d1
commit aa83bdebe4

View file

@ -1726,13 +1726,13 @@ Java_com_mapswithme_maps_Framework_nativeIsTransitSchemeEnabled(JNIEnv * env, jc
JNIEXPORT void JNICALL
Java_com_mapswithme_maps_Framework_nativeSetIsolinesLayerEnabled(JNIEnv * env, jclass, jboolean enabled)
{
/* frm()->...(static_cast<bool>(enabled));*/
frm()->EnableIsolines(static_cast<bool>(enabled));
}
JNIEXPORT jboolean JNICALL
Java_com_mapswithme_maps_Framework_nativeIsIsolinesLayerEnabled(JNIEnv * env, jclass)
{
return /*static_cast<jboolean>(frm()->())*/ false;
return static_cast<jboolean>(frm()->IsolinesEnabled());
}
JNIEXPORT void JNICALL