forked from organicmaps/organicmaps
[android] Changed lead url scheme from http/https to mapsme. And domain: lead.maps.me -> lead.
This commit is contained in:
parent
2c49d82846
commit
a4b9881318
2 changed files with 3 additions and 7 deletions
|
@ -141,12 +141,8 @@
|
|||
<category android:name="android.intent.category.BROWSABLE"/>
|
||||
|
||||
<data
|
||||
android:host="lead.maps.me"
|
||||
android:scheme="http"/>
|
||||
|
||||
<data
|
||||
android:host="lead.maps.me"
|
||||
android:scheme="https"/>
|
||||
android:host="lead"
|
||||
android:scheme="mapsme"/>
|
||||
</intent-filter>
|
||||
|
||||
<!-- API CALL -->
|
||||
|
|
|
@ -635,7 +635,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") && "lead".equals(host);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue