Commit 923bbada authored by Geoffrey Métais's avatar Geoffrey Métais

Remove READ_PHONE_STATE permission from release

parent b8533b44
......@@ -166,6 +166,9 @@ android {
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
sourceSets.release {
manifest.srcFile 'release/AndroidManifest.xml'
}
sourceSets.test {
java.srcDirs = ['test']
}
......
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.videolan.vlc">
<!-- Because manifest merger will add it otherwise... -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" />
</manifest>
......@@ -5,7 +5,8 @@
<uses-sdk
android:minSdkVersion="17" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" />
<!-- Launch recommendations service once device is booted -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment