aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
authorandrewrasch <raschykid@gmail.com>2021-09-26 04:08:45 +0000
committerandrewrasch <raschykid@gmail.com>2021-09-26 04:08:45 +0000
commit0b9e347cfb564db905ee55826376197e07beb2f9 (patch)
tree6e0d8ff9845578afbb3bd9d59af7e199a79b16fb /app/src/main/AndroidManifest.xml
parent5d6a56aae00741b3912a05e44b3af6c7b8735e62 (diff)
downloadinfinity-for-reddit-0b9e347cfb564db905ee55826376197e07beb2f9.tar
infinity-for-reddit-0b9e347cfb564db905ee55826376197e07beb2f9.tar.gz
infinity-for-reddit-0b9e347cfb564db905ee55826376197e07beb2f9.tar.bz2
infinity-for-reddit-0b9e347cfb564db905ee55826376197e07beb2f9.tar.lz
infinity-for-reddit-0b9e347cfb564db905ee55826376197e07beb2f9.tar.xz
infinity-for-reddit-0b9e347cfb564db905ee55826376197e07beb2f9.tar.zst
infinity-for-reddit-0b9e347cfb564db905ee55826376197e07beb2f9.zip
Cleanup on intent filters.
Separated google amp links from reddit links to fix false positives. Simplified schemes and duplicate hosts.
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
-rw-r--r--app/src/main/AndroidManifest.xml114
1 files changed, 21 insertions, 93 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index e709293f..edad7ed5 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -266,107 +266,35 @@
<activity android:name=".activities.LinkResolverActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
-
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
- <data
- android:host="www.reddit.com"
- android:scheme="https"
- android:pathPattern=".*"/>
- <data
- android:host="reddit.com"
- android:scheme="https"
- android:pathPattern=".*" />
+ <data android:scheme="https"/>
+ <data android:scheme="http"/>
+
+ <data android:host="www.reddit.com"/>
+ <data android:host="reddit.com"/>
+ <data android:host="v.redd.it"/>
+ <data android:host="amp.reddit.com"/>
+ <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
android:host="www.google.com"
android:scheme="https"
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>
+
</activity>
<activity
android:name=".activities.SearchActivity"