Skip to content

Commit

Permalink
Fix density APK split issue
Browse files Browse the repository at this point in the history
Remove the three extra permission manually.
  • Loading branch information
vbarthel-fr committed Feb 16, 2017
1 parent c993534 commit ddeafc3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
<?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="fr.tvbarthel.experiment.splitdensitybug">

<!--
BUG: DENSITY APK SPLITS
There is an issue with apk splitting resulting in addition
of three permissions.
Bug Tracker
https://code.google.com/p/android/issues/detail?id=197928
For the moment, the solution we found is to remove those permissions manually
using node marker.
-->
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
tools:node="remove" />
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
tools:node="remove" />
<uses-permission
android:name="android.permission.READ_PHONE_STATE"
tools:node="remove" />

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
Expand Down

0 comments on commit ddeafc3

Please sign in to comment.