From 4e8b8643e6b8470f675145e7048db1b80645e0e8 Mon Sep 17 00:00:00 2001 From: Manuel Fuhr Date: Thu, 21 Oct 2021 07:49:37 +0200 Subject: [PATCH] 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. --- brouter-routing-app/src/main/AndroidManifest.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/brouter-routing-app/src/main/AndroidManifest.xml b/brouter-routing-app/src/main/AndroidManifest.xml index 58395db..356c59d 100644 --- a/brouter-routing-app/src/main/AndroidManifest.xml +++ b/brouter-routing-app/src/main/AndroidManifest.xml @@ -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"> - \ No newline at end of file +