android/AndroidManifest.xml: enable requestLegacyExternalStorage

This is a workaround for the new scoped storage design in Android 11:

 https://developer.android.com/about/versions/11/privacy/storage

This needs a proper solution eventually, but this quick fix will do
until we change "targetSdkVersion" to 30.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1061
This commit is contained in:
Max Kellermann
2021-02-15 17:12:30 +01:00
parent d4d06da2f8
commit ca02fb7782
2 changed files with 3 additions and 0 deletions

View File

@@ -19,6 +19,7 @@
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<application android:allowBackup="true"
android:requestLegacyExternalStorage="true"
android:icon="@drawable/icon"
android:banner="@drawable/icon"
android:label="@string/app_name">