diff options
author | ne0fhyk <fhuyakou@gmail.com> | 2021-07-10 18:39:31 -0700 |
---|---|---|
committer | ne0fhyk <fhuyakou@gmail.com> | 2021-08-16 23:11:56 -0700 |
commit | 3a00ff1cce403bd879cbb7e1e826b0681d79fe0f (patch) | |
tree | f5de15377676763ea363328491a3bab582b19dbd /platform/android/export/export_plugin.h | |
parent | cfdac0973c2f1e5a3349c3d80262be130744384a (diff) | |
download | redot-engine-3a00ff1cce403bd879cbb7e1e826b0681d79fe0f.tar.gz |
Add partial support for Android scoped storage.
This is done by providing API access to app specific directories which don't have any limitations and allows us to bump the target sdk version to 30.
In addition, we're also bumping the min sdk version to 19 as version 18 is no longer supported by Google Play Services and only account of 0.3% of Android devices.
Diffstat (limited to 'platform/android/export/export_plugin.h')
-rw-r--r-- | platform/android/export/export_plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/export/export_plugin.h b/platform/android/export/export_plugin.h index 909428c2fe..b061ee4e04 100644 --- a/platform/android/export/export_plugin.h +++ b/platform/android/export/export_plugin.h @@ -134,6 +134,8 @@ class EditorExportPlatformAndroid : public EditorExportPlatform { static Error copy_gradle_so(void *p_userdata, const SharedObject &p_so); + bool _has_storage_permission(const Vector<String> &p_permissions); + void _get_permissions(const Ref<EditorExportPreset> &p_preset, bool p_give_internet, Vector<String> &r_permissions); void _write_tmp_manifest(const Ref<EditorExportPreset> &p_preset, bool p_give_internet, bool p_debug); |