diff options
author | burivuh <burivuh@maps.me> | 2017-05-17 18:52:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-17 18:52:09 +0300 |
commit | f48d59266c81ce700ad7a6d91fc49d275a627266 (patch) | |
tree | 0727cedfb46051619693737718c0a517482e92e1 | |
parent | 2efbea0d47407551ad3340f99c16f645b1de6baa (diff) | |
parent | 112687842ef1000ca968f896ceff5385e36fbeef (diff) |
Merge pull request #6073 from goblinr/MAPSME-4516-change-lead-url-schemebeta-811
[android] Changed lead url scheme from http/https to mapsme. And doma…
-rw-r--r-- | android/AndroidManifest.xml | 9 | ||||
-rw-r--r-- | android/src/com/mapswithme/maps/DownloadResourcesActivity.java | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 285256642a..5a03170b94 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -142,12 +142,11 @@ <category android:name="android.intent.category.BROWSABLE"/> <data - android:host="lead.maps.me" - android:scheme="http"/> - + android:host="lead" + android:scheme="mapsme"/> <data - android:host="lead.maps.me" - android:scheme="https"/> + android:host="lead" + android:scheme="mapswithme"/> </intent-filter> <!-- API CALL --> diff --git a/android/src/com/mapswithme/maps/DownloadResourcesActivity.java b/android/src/com/mapswithme/maps/DownloadResourcesActivity.java index ea23a23e34..d261875883 100644 --- a/android/src/com/mapswithme/maps/DownloadResourcesActivity.java +++ b/android/src/com/mapswithme/maps/DownloadResourcesActivity.java @@ -628,7 +628,7 @@ public class DownloadResourcesActivity extends BaseMwmFragmentActivity if (TextUtils.isEmpty(scheme) || TextUtils.isEmpty(host)) return false; - return (scheme.equals("https") || scheme.equals("http")) && "lead.maps.me".equals(host); + return (scheme.equals("mapsme") || scheme.equals("mapswithme")) && "lead".equals(host); } @Override |