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')
-rw-r--r--android/jni/com/mapswithme/maps/settings/StoragePathActivity.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/android/jni/com/mapswithme/maps/settings/StoragePathActivity.cpp b/android/jni/com/mapswithme/maps/settings/StoragePathActivity.cpp
index 3f6aae019b..e51e16baaa 100644
--- a/android/jni/com/mapswithme/maps/settings/StoragePathActivity.cpp
+++ b/android/jni/com/mapswithme/maps/settings/StoragePathActivity.cpp
@@ -29,7 +29,7 @@ extern "C"
Platform & pl = GetPlatform();
// Get regexp like this: (\.mwm$|\.ttf$)
- string const regexp = "(\\" DATA_FILE_EXTENSION "$|\\.ttf$)";
+ string const regexp = "(" "\\"DATA_FILE_EXTENSION"$" "|" "\\"BOOKMARKS_FILE_EXTENSION"$" "|" "\\.ttf$" ")";
Platform::FilesList files;
pl.GetFilesByRegExp(from, regexp, files);
@@ -51,6 +51,9 @@ extern "C"
// Add all maps again.
g_framework->AddLocalMaps();
+
+ // Reload bookmarks again
+ g_framework->NativeFramework()->LoadBookmarks();
return true;
}
}