diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-01 11:10:28 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-01 11:10:28 +0100 |
commit | 010a873b5b98ead81649eb399446c59859faeacd (patch) | |
tree | fd6b9dd3b3392fa602ce7140ef7d3f283e798604 /platform/android/export/export_plugin.cpp | |
parent | 2852d5e613d050caf15f72e8232778fb66bab1c2 (diff) | |
parent | bdbeb0772f3e9edf6c110c8e0797a3fdfb364559 (diff) | |
download | redot-engine-010a873b5b98ead81649eb399446c59859faeacd.tar.gz |
Merge pull request #72495 from m4gr3d/implement_file_provider
Implement file provider capabilities
Diffstat (limited to 'platform/android/export/export_plugin.cpp')
-rw-r--r-- | platform/android/export/export_plugin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index 9ebb8aa102..0902be9595 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -1027,6 +1027,10 @@ void EditorExportPlatformAndroid::_fix_manifest(const Ref<EditorExportPreset> &p encode_uint32(is_resizeable, &p_manifest.write[iofs + 16]); } + if (tname == "provider" && attrname == "authorities") { + string_table.write[attr_value] = get_package_name(package_name) + String(".fileprovider"); + } + if (tname == "supports-screens") { if (attrname == "smallScreens") { encode_uint32(screen_support_small ? 0xFFFFFFFF : 0, &p_manifest.write[iofs + 16]); |