aboutsummaryrefslogtreecommitdiff
path: root/android/native
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2021-10-15 17:14:48 +0100
committerrubenwardy <rw@rubenwardy.com>2021-10-18 18:12:03 +0100
commitc61d8cfb857bbc591ae87f662e0e6e67b813a5c4 (patch)
treedabe2aed3eb722eb1167e8dfef2911c26a4adc09 /android/native
parent27f4195471fbbac33b5cdc19025ec5aa6c118a75 (diff)
downloadminetest-c61d8cfb857bbc591ae87f662e0e6e67b813a5c4.tar.gz
minetest-c61d8cfb857bbc591ae87f662e0e6e67b813a5c4.tar.bz2
minetest-c61d8cfb857bbc591ae87f662e0e6e67b813a5c4.zip
Use scoped app storage on Android (#11466)
From November 2021, the Play Store will no longer be accepting apps which use the deprecated getExternalStorageDirectory() API. Therefore, this commit replaces uses of deprecated API with the new scoped API (`getExternalFilesDir()` and `getExternalCacheDir()`). It also provides a temporary migration to move user data from the shared external directory to new storage. Fixes #2097, #11417 and #11118
Diffstat (limited to 'android/native')
-rw-r--r--android/native/build.gradle4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/native/build.gradle b/android/native/build.gradle
index 8ea6347b3..a7f095641 100644
--- a/android/native/build.gradle
+++ b/android/native/build.gradle
@@ -41,6 +41,10 @@ android {
arguments 'NDEBUG=1'
}
}
+
+ ndk {
+ debugSymbolLevel 'SYMBOL_TABLE'
+ }
}
}
}