mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
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').
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user