summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorThomas Guillem <thomas@gllm.fr>2014-10-18 19:00:57 +0200
committerMax Kellermann <max@musicpd.org>2018-08-20 00:07:18 +0200
commitef38dbe5bfe2dd4bca4a392dc4322a2d5855c2c6 (patch)
tree68207adef540e078331fc9429c7df65f302b2330 /android
parent54a5491b86ce248fc56739aefe555d20e65d56a8 (diff)
android: fix AndroidManifest.xml warnings
- <uses-permission> must be before <application> - specify allowBackup (default)
Diffstat (limited to 'android')
-rw-r--r--android/AndroidManifest.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml
index 6095c9460..3a43a5e7d 100644
--- a/android/AndroidManifest.xml
+++ b/android/AndroidManifest.xml
@@ -7,7 +7,13 @@
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="26"/>
- <application android:icon="@drawable/icon" android:label="@string/app_name">
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
+ <uses-permission android:name="android.permission.WAKE_LOCK"/>
+ <uses-permission android:name="android.permission.INTERNET"/>
+
+ <application android:allowBackup="true"
+ android:icon="@drawable/icon"
+ android:label="@string/app_name">
<activity android:name=".Settings"
android:label="@string/app_name">
<intent-filter>
@@ -18,7 +24,4 @@
<service android:name=".Main" />
</application>
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
- <uses-permission android:name="android.permission.WAKE_LOCK"/>
- <uses-permission android:name="android.permission.INTERNET"/>
</manifest>