Browse Source

Do not capture http bittorrent links from the browser, instead rely on local file scheme intents.

pull/11/head
Eric Kok 12 years ago
parent
commit
53fe1bbe48
  1. 17
      android/AndroidManifest.xml

17
android/AndroidManifest.xml

@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.transdroid"
android:versionName="1.1.14"
android:versionCode="159"
android:versionCode="160"
android:installLocation="auto">
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="16" />
@ -47,19 +47,6 @@ @@ -47,19 +47,6 @@
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</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:mimeType="application/x-bittorrent" />
<data android:scheme="http" android:mimeType="application/x-bittorrent" />
</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="*" android:pathPattern=".*\\.torrent" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
@ -71,7 +58,7 @@ @@ -71,7 +58,7 @@
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:pathPattern=".*\\.torrent" />
<data android:scheme="file" android:pathPattern=".*\\.torrent" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />

Loading…
Cancel
Save