diff options
-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 |