summaryrefslogtreecommitdiff
path: root/android/native/build.gradle
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2021-10-15 17:14:48 +0100
committerGitHub <noreply@github.com>2021-10-15 18:14:48 +0200
commit6901c5fae54eafb05494823b60d4e26c14b342f1 (patch)
tree84cfeee77d5917d554a8eb3feca166083cbfdc9b /android/native/build.gradle
parentfe7195badb2801f4957d6dea2c961a3ffcf7debf (diff)
downloadminetest-6901c5fae54eafb05494823b60d4e26c14b342f1.tar.gz
minetest-6901c5fae54eafb05494823b60d4e26c14b342f1.tar.bz2
minetest-6901c5fae54eafb05494823b60d4e26c14b342f1.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/build.gradle')
-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'
+ }
}
}
}