[Android] Move API permissions to release only
Geoffrey Métais
git at videolan.org
Wed Mar 30 16:50:45 CEST 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Mar 30 16:50:19 2016 +0200| [ee1738bd823846ed8578d5bcb0f24b13d3181153] | committer: Geoffrey Métais
Move API permissions to release only
> https://code.videolan.org/videolan/vlc-android/commit/ee1738bd823846ed8578d5bcb0f24b13d3181153
---
vlc-android/AndroidManifest.xml | 11 -----------
vlc-android/flavors/release/AndroidManifest.xml | 12 ++++++++++++
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 8c0bc4b..a1ce103 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -55,17 +55,6 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
- <permission
- android:name="org.videolan.vlc.permission.READ_EXTENSION_DATA"
- android:protectionLevel="normal" />
-
- <permission
- android:name="org.videolan.vlc.permission.BIND_DATA_CONSUMER"
- android:protectionLevel="normal" />
-
- <uses-permission android:name="org.videolan.vlc.permission.READ_EXTENSION_DATA" />
- <uses-permission android:name="org.videolan.vlc.permission.BIND_DATA_CONSUMER" />
-
<uses-feature android:name="android.software.leanback"
android:required="false" />
<uses-feature
diff --git a/vlc-android/flavors/release/AndroidManifest.xml b/vlc-android/flavors/release/AndroidManifest.xml
index af73830..8bfca5f 100644
--- a/vlc-android/flavors/release/AndroidManifest.xml
+++ b/vlc-android/flavors/release/AndroidManifest.xml
@@ -6,4 +6,16 @@
<uses-permission android:name="android.permission.READ_LOGS" tools:node="remove" />
+ <!-- Extensions API permissions -->
+ <permission
+ android:name="org.videolan.vlc.permission.READ_EXTENSION_DATA"
+ android:protectionLevel="normal" />
+
+ <permission
+ android:name="org.videolan.vlc.permission.BIND_DATA_CONSUMER"
+ android:protectionLevel="normal" />
+
+ <uses-permission android:name="org.videolan.vlc.permission.READ_EXTENSION_DATA" />
+ <uses-permission android:name="org.videolan.vlc.permission.BIND_DATA_CONSUMER" />
+
</manifest>
More information about the Android
mailing list