[Android] Remove VIBRATE & WRITE_SETTINGS permissions from TV

Geoffrey Métais git at videolan.org
Tue Oct 27 18:22:58 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Oct 27 18:21:58 2015 +0100| [063ec28394d3d2b25163e70ec91edb2b0070d8c8] | committer: Geoffrey Métais

Remove VIBRATE & WRITE_SETTINGS permissions from TV

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

 vlc-android/AndroidManifest.xml         |    2 --
 vlc-android/vanilla/AndroidManifest.xml |    6 ++++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 3ffa045..b10c00e 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -38,10 +38,8 @@
 
     <!-- normal -->
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
-    <uses-permission android:name="android.permission.VIBRATE" />
     <uses-permission android:name="android.permission.WAKE_LOCK" />
     <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
-    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
 
     <application
         android:name="org.videolan.vlc.VLCApplication"
diff --git a/vlc-android/vanilla/AndroidManifest.xml b/vlc-android/vanilla/AndroidManifest.xml
index 6bbb07e..d88bdab 100644
--- a/vlc-android/vanilla/AndroidManifest.xml
+++ b/vlc-android/vanilla/AndroidManifest.xml
@@ -8,4 +8,10 @@
     <uses-permission android:name="android.permission.READ_LOGS"
         android:maxSdkVersion="18" /> <!-- android:maxSdkVersion="15" -->
 
+    <!-- vibration on audioplayer buttons long press -->
+    <uses-permission android:name="android.permission.VIBRATE" />
+
+    <!-- used for setting ringtone -->
+    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
+
 </manifest>



More information about the Android mailing list