[Android] Reformat the Manifest

Jean-Baptiste Kempf git at videolan.org
Wed Apr 9 11:42:53 CEST 2014


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Apr  9 11:34:38 2014 +0200| [c8ecbc851bea150c785597cbcaec189c6080b248] | committer: Jean-Baptiste Kempf

Reformat the Manifest

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=c8ecbc851bea150c785597cbcaec189c6080b248
---

 vlc-android/AndroidManifest.xml |   45 +++++++++++++++++++++------------------
 1 file changed, 24 insertions(+), 21 deletions(-)

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 1742646..2ffedbc 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -14,46 +14,46 @@
     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
     <uses-permission android:name="android.permission.READ_LOGS" />
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
-    <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
-    <uses-permission android:name="android.permission.WAKE_LOCK"/>
+    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
+    <uses-permission android:name="android.permission.WAKE_LOCK" />
 
     <application
         android:name="org.videolan.vlc.VLCApplication"
         android:debuggable="true"
+        android:hardwareAccelerated="true"
         android:icon="@drawable/icon"
-        android:logo="@drawable/icon"
         android:label="@string/app_name"
-        android:theme="@style/Theme.VLC.NoTitleBar"
-        android:hardwareAccelerated="true" >
+        android:logo="@drawable/icon"
+        android:theme="@style/Theme.VLC.NoTitleBar" >
         <activity
             android:name=".gui.MainActivity"
             android:configChanges="orientation|screenSize"
-            android:launchMode="singleTask"
             android:icon="@drawable/icon"
             android:label="@string/app_name"
+            android:launchMode="singleTask"
             android:theme="@style/Theme.VLC" >
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
+
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
         </activity>
-        <activity
-            android:name=".gui.CompatErrorActivity" />
-        <activity
-            android:name=".gui.PreferencesActivity" />
+        <activity android:name=".gui.CompatErrorActivity" />
+        <activity android:name=".gui.PreferencesActivity" />
         <activity
             android:name=".gui.BrowserActivity"
             android:label="@string/mediafiles"
             android:theme="@style/Theme.VLC.NoTitleBar" />
-        <activity
-            android:name=".gui.DebugLogActivity" />
+        <activity android:name=".gui.DebugLogActivity" />
         <activity
             android:name=".gui.video.VideoPlayerActivity"
             android:configChanges="orientation|screenSize"
             android:theme="@style/Theme.VLC.Fullscreen" >
+
             <!-- This filter captures protocols without type info -->
             <intent-filter>
                 <action android:name="android.intent.action.VIEW" />
+
                 <category android:name="android.intent.category.DEFAULT" />
                 <category android:name="android.intent.category.BROWSABLE" />
 
@@ -72,11 +72,12 @@
             <!-- This filter captures protocols with type info -->
             <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="video/*" />
                 <data android:mimeType="audio/*" />
-
                 <data android:scheme="rtmp" />
                 <data android:scheme="rtmpe" />
                 <data android:scheme="rtmps" />
@@ -90,8 +91,10 @@
             </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="" />
                 <data android:scheme="file" />
                 <data android:scheme="ftp" />
@@ -125,8 +128,10 @@
             </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="" />
                 <data android:scheme="file" />
                 <data android:scheme="ftp" />
@@ -196,7 +201,6 @@
                 <data android:pathPattern=".*\\.wmv" />
                 <data android:pathPattern=".*\\.wtv" />
                 <data android:pathPattern=".*\\.xesc" />
-
                 <data android:pathPattern=".*\\.3G2" />
                 <data android:pathPattern=".*\\.3GP" />
                 <data android:pathPattern=".*\\.3GP2" />
@@ -306,7 +310,6 @@
                 <data android:pathPattern=".*\\.wv" />
                 <data android:pathPattern=".*\\.xa" />
                 <data android:pathPattern=".*\\.xm" />
-
                 <data android:pathPattern=".*\\.3GA" />
                 <data android:pathPattern=".*\\.A52" />
                 <data android:pathPattern=".*\\.AAC" />
@@ -356,18 +359,18 @@
                 <data android:pathPattern=".*\\.XM" />
             </intent-filter>
         </activity>
+
         <service android:name=".AudioService" />
 
-        <receiver
-            android:name=".PhoneStateReceiver">
+        <receiver android:name=".PhoneStateReceiver" >
             <intent-filter>
                 <action android:name="android.intent.action.PHONE_STATE" />
             </intent-filter>
         </receiver>
         <receiver
             android:name=".widget.VLCAppWidgetProvider"
-            android:label="VLC mini player"
-            android:exported="false">
+            android:exported="false"
+            android:label="VLC mini player" >
             <intent-filter>
                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
             </intent-filter>
@@ -376,11 +379,11 @@
                 android:name="android.appwidget.provider"
                 android:resource="@xml/vlcwidget" />
         </receiver>
-        <receiver android:name=".RemoteControlClientReceiver">
+        <receiver android:name=".RemoteControlClientReceiver" >
             <intent-filter>
                 <action android:name="android.intent.action.MEDIA_BUTTON" />
             </intent-filter>
         </receiver>
     </application>
 
-</manifest>
+</manifest>
\ No newline at end of file



More information about the Android mailing list