[Android] handle rtsp and mms URI in addition of http

Thomas Clavier git at videolan.org
Mon Mar 5 12:33:29 CET 2012


android | branch: master | Thomas Clavier <tom at tcweb.org> | Mon Mar  5 12:23:23 2012 +0100| [2dda5244c4dedab087c77fd878ae6fecd713dd00] | committer: Rafaël Carré

handle rtsp and mms URI in addition of http

Signed-off-by: Rafaël Carré <funman at videolan.org>

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=2dda5244c4dedab087c77fd878ae6fecd713dd00
---

 vlc-android/AndroidManifest.xml |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 749b3b1..0123e31 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -71,15 +71,9 @@
                 <category android:name="android.intent.category.DEFAULT" />
 
                 <data android:mimeType="video/*" />
-            </intent-filter>
-            <intent-filter>
-                <action android:name="android.intent.action.VIEW" />
-
-                <category android:name="android.intent.category.DEFAULT" />
-
-                <data
-                    android:mimeType="video/*"
-                    android:scheme="http" />
+                <data android:mimeType="video/*" android:scheme="http" />
+                <data android:mimeType="video/*" android:scheme="rtsp" />
+                <data android:mimeType="video/*" android:scheme="mms" />
             </intent-filter>
         </activity>
         <activity
@@ -115,4 +109,4 @@
         </receiver>
     </application>
 
-</manifest>
\ No newline at end of file
+</manifest>



More information about the Android mailing list