summaryrefslogtreecommitdiffstats
path: root/platform/android/export/export.cpp
diff options
context:
space:
mode:
authorfhuya <fhuya@google.com>2019-09-02 17:31:51 -0700
committerfhuya <fhuya@google.com>2019-09-04 16:20:22 -0700
commit7fabfd402f235ebcf64cfde3b399b8b62b969243 (patch)
tree99bb4eacc7828bedae43316f7415091de9782922 /platform/android/export/export.cpp
parentba854bbc7bb0eae230299de4da8dfcb7caf74b69 (diff)
downloadredot-engine-7fabfd402f235ebcf64cfde3b399b8b62b969243.tar.gz
Split the Android platform java logic into an Android library module (`lib`) and an application module (`app`).
The application module `app` serves double duties of providing the prebuilt Godot binaries ('android_debug.apk', 'android_release.apk') and the Godot custom build template ('android_source.zip').
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]);