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:
parent
ac13b1fe34
commit
4e8b8643e6
1 changed files with 3 additions and 2 deletions
|
@ -14,7 +14,8 @@
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:roundIcon="@mipmap/ic_launcher_round"
|
android:roundIcon="@mipmap/ic_launcher_round"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:allowBackup="false">
|
android:allowBackup="false"
|
||||||
|
android:preserveLegacyExternalStorage="true">
|
||||||
<activity android:name=".BRouterActivity"
|
<activity android:name=".BRouterActivity"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
|
@ -44,4 +45,4 @@
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</application>
|
</application>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|
Loading…
Reference in a new issue