android: fix AndroidManifest.xml warnings

- <uses-permission> must be before <application>
 - specify allowBackup (default)
This commit is contained in:
Thomas Guillem 2014-10-18 19:00:57 +02:00 committed by Max Kellermann
parent 54a5491b86
commit ef38dbe5bf
1 changed files with 7 additions and 4 deletions

View File

@ -7,7 +7,13 @@
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="26"/> <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" <activity android:name=".Settings"
android:label="@string/app_name"> android:label="@string/app_name">
<intent-filter> <intent-filter>
@ -18,7 +24,4 @@
<service android:name=".Main" /> <service android:name=".Main" />
</application> </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> </manifest>