mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-29 04:17:12 +01:00
Cleanup on intent filters.
Separated google amp links from reddit links to fix false positives. Simplified schemes and duplicate hosts.
This commit is contained in:
parent
5d6a56aae0
commit
0b9e347cfb
@ -266,107 +266,35 @@
|
|||||||
<activity android:name=".activities.LinkResolverActivity">
|
<activity android:name=".activities.LinkResolverActivity">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.VIEW" />
|
<action android:name="android.intent.action.VIEW" />
|
||||||
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
<category android:name="android.intent.category.BROWSABLE" />
|
<category android:name="android.intent.category.BROWSABLE" />
|
||||||
|
|
||||||
<data
|
<data android:scheme="https"/>
|
||||||
android:host="www.reddit.com"
|
<data android:scheme="http"/>
|
||||||
android:scheme="https"
|
|
||||||
android:pathPattern=".*"/>
|
<data android:host="www.reddit.com"/>
|
||||||
<data
|
<data android:host="reddit.com"/>
|
||||||
android:host="reddit.com"
|
<data android:host="v.redd.it"/>
|
||||||
android:scheme="https"
|
<data android:host="amp.reddit.com"/>
|
||||||
android:pathPattern=".*" />
|
<data android:host="m.reddit.com"/>
|
||||||
|
<data android:host="old.reddit.com"/>
|
||||||
|
<data android:host="new.reddit.com"/>
|
||||||
|
<data android:host="np.reddit.com"/>
|
||||||
|
<data android:host="reddit.app.link"/>
|
||||||
|
<data android:host="redd.it"/>
|
||||||
|
<data android:host="s.reddit.com"/>
|
||||||
|
<data android:host="click.redditmail.com"/>
|
||||||
|
</intent-filter>
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.intent.action.VIEW" />
|
||||||
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
|
<category android:name="android.intent.category.BROWSABLE" />
|
||||||
<data
|
<data
|
||||||
android:host="www.google.com"
|
android:host="www.google.com"
|
||||||
android:scheme="https"
|
android:scheme="https"
|
||||||
android:pathPattern="/amp/s/amp.reddit.com/.*" />
|
android:pathPattern="/amp/s/amp.reddit.com/.*" />
|
||||||
<data
|
|
||||||
android:host="v.redd.it"
|
|
||||||
android:scheme="https"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="amp.reddit.com"
|
|
||||||
android:scheme="https"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="m.reddit.com"
|
|
||||||
android:scheme="https"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="old.reddit.com"
|
|
||||||
android:scheme="https"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="new.reddit.com"
|
|
||||||
android:scheme="https"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="np.reddit.com"
|
|
||||||
android:scheme="https"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="reddit.app.link"
|
|
||||||
android:scheme="https"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="redd.it"
|
|
||||||
android:scheme="https"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="s.reddit.com"
|
|
||||||
android:scheme="https"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="click.redditmail.com"
|
|
||||||
android:scheme="https"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="www.reddit.com"
|
|
||||||
android:scheme="http"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="reddit.com"
|
|
||||||
android:scheme="http"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="amp.reddit.com"
|
|
||||||
android:scheme="http"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="m.reddit.com"
|
|
||||||
android:scheme="http"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="old.reddit.com"
|
|
||||||
android:scheme="http"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="new.reddit.com"
|
|
||||||
android:scheme="http"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="np.reddit.com"
|
|
||||||
android:scheme="http"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="reddit.app.link"
|
|
||||||
android:scheme="http"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="redd.it"
|
|
||||||
android:scheme="http"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="s.reddit.com"
|
|
||||||
android:scheme="http"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
<data
|
|
||||||
android:host="click.redditmail.com"
|
|
||||||
android:scheme="http"
|
|
||||||
android:pathPattern=".*" />
|
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name=".activities.SearchActivity"
|
android:name=".activities.SearchActivity"
|
||||||
|
Loading…
Reference in New Issue
Block a user