diff options
author | vng <viktor.govako@gmail.com> | 2013-09-12 17:58:47 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:01:17 +0300 |
commit | 1f7f812d6a150a2b47b37941ab343f3888ac3d6a (patch) | |
tree | 02285a37585dce1b4d61d7cf43a2ed08176e3a64 /android/jni/com/mapswithme/platform/Platform.cpp | |
parent | 211646b49c2d814df17b4689b0069c583537043f (diff) |
Bookmarks support for MWM Lite in Yota devices.
Diffstat (limited to 'android/jni/com/mapswithme/platform/Platform.cpp')
-rw-r--r-- | android/jni/com/mapswithme/platform/Platform.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/android/jni/com/mapswithme/platform/Platform.cpp b/android/jni/com/mapswithme/platform/Platform.cpp index af122e59f9..41e18c4b3b 100644 --- a/android/jni/com/mapswithme/platform/Platform.cpp +++ b/android/jni/com/mapswithme/platform/Platform.cpp @@ -58,7 +58,7 @@ namespace android void Platform::Initialize(JNIEnv * env, jstring apkPath, jstring storagePath, jstring tmpPath, jstring obbGooglePath, - bool isPro) + bool isPro, bool isYota) { m_resourcesDir = jni::ToNativeString(env, apkPath); @@ -76,7 +76,9 @@ namespace android m_tmpDir = jni::ToNativeString(env, tmpPath); - m_isPro = isPro; + m_flags[PRO_URL] = isPro; + m_flags[HAS_BOOKMARKS] = isPro || isYota; + m_flags[HAS_ROTATION] = isPro; string const obbPath = jni::ToNativeString(env, obbGooglePath); Platform::FilesList files; |