diff options
author | Maksim <MoNTE48@mail.ua> | 2020-05-04 08:47:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 08:47:00 +0200 |
commit | 373bad16c089cd23448e8ce20b474e8fcf5b0c8b (patch) | |
tree | 43590ea92cf1677c9efb6cff698e6f353e5f659d /build/android/app/src/main/AndroidManifest.xml | |
parent | 66c182531cf7ef06c98a25b4e12db770314bdc91 (diff) | |
download | minetest-373bad16c089cd23448e8ce20b474e8fcf5b0c8b.tar.gz minetest-373bad16c089cd23448e8ce20b474e8fcf5b0c8b.tar.bz2 minetest-373bad16c089cd23448e8ce20b474e8fcf5b0c8b.zip |
Android: some java-part improvements (#9760)
Replace Log to Toast.
Start Native only after successful unpacking.
Light refactoring in CopyZipTask.
Update NDK version.
Co-authored-by: ubulem <berkut87@gmail.com>
Diffstat (limited to 'build/android/app/src/main/AndroidManifest.xml')
-rw-r--r-- | build/android/app/src/main/AndroidManifest.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/android/app/src/main/AndroidManifest.xml b/build/android/app/src/main/AndroidManifest.xml index 3a5342751..aa5af110e 100644 --- a/build/android/app/src/main/AndroidManifest.xml +++ b/build/android/app/src/main/AndroidManifest.xml @@ -7,11 +7,18 @@ <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> + <!-- + `android:requestLegacyExternalStorage="true"` is workaround for using `/sdcard` + instead of the `getFilesDir()` patch for assets. Check link below for more information: + https://developer.android.com/training/data-storage/compatibility + --> + <application android:allowBackup="false" android:icon="@mipmap/ic_launcher" android:label="@string/label" android:resizeableActivity="false" + android:requestLegacyExternalStorage="true" tools:ignore="UnusedAttribute"> <meta-data |