[Android] Remove permissions unneeded for recent devices

Geoffrey Métais git at videolan.org
Wed Jun 10 18:35:06 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jun 10 18:33:48 2015 +0200| [c79bd207a11bff387786383d751dc2cd2f30397d] | committer: Geoffrey Métais

Remove permissions unneeded for recent devices

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

 vlc-android/AndroidManifest.xml |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index da6d571..49efacc 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -30,10 +30,12 @@
     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
 
     <!-- STORAGE -->
-    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
+       android:maxSdkVersion="19" />
 
     <!-- DEVELOPMENT_TOOLS signature -->
-    <uses-permission android:name="android.permission.READ_LOGS" />
+    <uses-permission android:name="android.permission.READ_LOGS"
+       android:maxSdkVersion="15" />
 
     <!-- Internet -->
     <uses-permission android:name="android.permission.INTERNET" />



More information about the Android mailing list