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:
Diffstat (limited to 'android/jni/com/mapswithme/maps/Framework.cpp')
-rw-r--r--android/jni/com/mapswithme/maps/Framework.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/android/jni/com/mapswithme/maps/Framework.cpp b/android/jni/com/mapswithme/maps/Framework.cpp
index fdd6bf0a09..db3476459b 100644
--- a/android/jni/com/mapswithme/maps/Framework.cpp
+++ b/android/jni/com/mapswithme/maps/Framework.cpp
@@ -1088,7 +1088,10 @@ extern "C"
JNIEXPORT void JNICALL
Java_com_mapswithme_maps_Framework_nativeFollowRoute(JNIEnv * env, jclass thiz)
{
- frm()->FollowRoute();
+ g_framework->PostDrapeTask([]()
+ {
+ frm()->FollowRoute();
+ });
}
JNIEXPORT void JNICALL