Set preserveLegacyExternalStorage for easier upgrades

When updating from a previous app which has it's basedir on e.g.
/sdcard/emulated/0/brouter it's still possible to access the files on
android 11 with this flag.
This commit is contained in:
Manuel Fuhr 2021-10-21 07:49:37 +02:00
parent ac13b1fe34
commit 4e8b8643e6

View file

@ -14,7 +14,8 @@
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/app_name"
android:allowBackup="false">
android:allowBackup="false"
android:preserveLegacyExternalStorage="true">
<activity android:name=".BRouterActivity"
android:label="@string/app_name"
android:exported="true"
@ -44,4 +45,4 @@
/>
</application>
</manifest>
</manifest>