[android] Changed lead url scheme from http/https to mapsme. And domain: lead.maps.me -> lead.

This commit is contained in:
Roman Romanov 2017-05-17 16:04:15 +04:00 committed by r.kuznetsov
parent 2c49d82846
commit a4b9881318
2 changed files with 3 additions and 7 deletions

View file

@ -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 -->

View file

@ -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