diff options
author | Fredia Huya-Kouadio <fhuya@meta.com> | 2023-01-26 14:03:04 -0800 |
---|---|---|
committer | Fredia Huya-Kouadio <fhuya@meta.com> | 2023-02-01 01:03:50 -0800 |
commit | bdbeb0772f3e9edf6c110c8e0797a3fdfb364559 (patch) | |
tree | 74afffdb047b8cedc81b817566eaa6d9900ba17c /platform/android/java/lib/res | |
parent | f7397a5ac6bffc0df24cae61b8aabfa4a3b65347 (diff) |
Implement file provider capabilities
The previously used file sharing api was restricted after Android N causing the engine to crash whenever used on devices running Android N or higher.
Diffstat (limited to 'platform/android/java/lib/res')
-rw-r--r-- | platform/android/java/lib/res/xml/godot_provider_paths.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/platform/android/java/lib/res/xml/godot_provider_paths.xml b/platform/android/java/lib/res/xml/godot_provider_paths.xml new file mode 100644 index 0000000000..1255f576bf --- /dev/null +++ b/platform/android/java/lib/res/xml/godot_provider_paths.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<paths xmlns:android="http://schemas.android.com/apk/res/android"> + + <external-path + name="public" + path="." /> + + <external-files-path + name="app" + path="." /> +</paths> |