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:
authorDmitry Yunitsky <dmitry.yunitsky@gmail.com>2016-03-29 18:19:41 +0300
committerDmitry Yunitsky <dmitry.yunitsky@gmail.com>2016-03-29 18:19:41 +0300
commit1f7b5a9399d56da1b2b3779cdd9770f3993fd6ec (patch)
tree307db9c72cbf5509c4b66e21e0a08dca60459aea
parent2cac79fb93aa4670b8b724d4bcd4d5ee679e0927 (diff)
parentb92acc339dd574f1711d330d877d9f93eae51f2d (diff)
Merge pull request #2619 from trashkalmar/viral-share-linkandroid-prerelease-602
[editor][android] fix: Added app download URL to viral sharing.
-rw-r--r--android/src/com/mapswithme/util/sharing/ViralEditorShareable.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/src/com/mapswithme/util/sharing/ViralEditorShareable.java b/android/src/com/mapswithme/util/sharing/ViralEditorShareable.java
index 38816e84b9..9443e33bf9 100644
--- a/android/src/com/mapswithme/util/sharing/ViralEditorShareable.java
+++ b/android/src/com/mapswithme/util/sharing/ViralEditorShareable.java
@@ -16,6 +16,7 @@ import com.mapswithme.util.UiUtils;
public class ViralEditorShareable extends BaseShareable
{
private static final String FACEBOOK_SHARE_URL = "http://maps.me/fb-editor-v1?lang=" + Locale.getDefault().getLanguage();
+ private static final String VIRAL_TAIL = " http://maps.me/im_get";
private final Uri mUri;
@@ -50,6 +51,8 @@ public class ViralEditorShareable extends BaseShareable
return;
}
+ setText(mText + VIRAL_TAIL);
+
if (lowerCaseName.contains("sms") || lowerCaseName.contains("mms"))
TargetUtils.fillSmsIntent(intent, mText);
else if (lowerCaseName.contains("twitter"))