summaryrefslogtreecommitdiffstats
path: root/platform/android/export/export.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-09-19 20:22:09 +0200
committerGitHub <noreply@github.com>2019-09-19 20:22:09 +0200
commitf9db6ad8c5a37dcfdc1ba8d3f1ddd0ddb05845b0 (patch)
treeb01da6cdc8c280b5724fd848753f03b9c29dbd86 /platform/android/export/export.cpp
parentaf51fbd994f1f5ece1f50617cb1aaf41369b8574 (diff)
parentf2d203a8a413c3a58ac2761b76323f39bd88b356 (diff)
downloadredot-engine-f9db6ad8c5a37dcfdc1ba8d3f1ddd0ddb05845b0.tar.gz
Merge pull request #31919 from m4gr3d/use_aar_for_custom_build
Leverage Android archive (AAR) file for Godot custom build
Diffstat (limited to 'platform/android/export/export.cpp')
-rw-r--r--platform/android/export/export.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp
index 441fa38bff..1c4450c0c3 100644
--- a/platform/android/export/export.cpp
+++ b/platform/android/export/export.cpp
@@ -794,6 +794,10 @@ class EditorExportPlatformAndroid : public EditorExportPlatform {
string_table.write[attr_value] = version_name;
}
+ if (tname == "instrumentation" && attrname == "targetPackage") {
+ string_table.write[attr_value] = get_package_name(package_name);
+ }
+
if (tname == "activity" && attrname == "screenOrientation") {
encode_uint32(orientation == 0 ? 0 : 1, &p_manifest.write[iofs + 16]);