Skip to content

Commit

Permalink
Merge pull request #243 from blazeroni/master
Browse files Browse the repository at this point in the history
Fixed subreddit intent filters
  • Loading branch information
talklittle committed Feb 13, 2012
2 parents fc968da + 9769b54 commit aa2a0d6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion AndroidManifest.xml
Expand Up @@ -44,6 +44,7 @@
</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:scheme="http" android:host="www.reddit.com" android:pathPattern="/r/.*/" />
<data android:scheme="http" android:host="redd.it" android:pathPattern="/" />
Expand All @@ -57,8 +58,14 @@
<data android:scheme="http" android:host="www.reddit.com" android:pathPattern="/r/.*/comments/.*" />
<data android:scheme="http" android:host="www.reddit.com" android:pathPrefix="/comments/" />
<data android:scheme="http" android:host="www.reddit.com" android:pathPrefix="/tb/" />
<data android:scheme="http" android:host="redd.it" android:pathPattern="/..*" />
</intent-filter>
<!-- Separate filter because when added to above filter, the host is ignored -->
<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:scheme="http" android:host="redd.it" android:pathPattern="/..*" />
</intent-filter>
</activity>
<activity android:name=".reddits.PickSubredditActivity"></activity>
<activity android:name=".submit.SubmitLinkActivity">
Expand Down

0 comments on commit aa2a0d6

Please sign in to comment.