Merge pull request #69024 from Gromph/3.x-fix-exporting-android-application_attribs

fix exporting Android APPLICATION_ATTRIBS (3.X)
This commit is contained in:
Rémi Verschelde 2022-11-24 15:35:58 +01:00
commit 429225ce55
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -2577,8 +2577,8 @@ void EditorExportPlatformAndroid::_update_custom_build_project() {
append_line = true;
} else {
String base = l.substr(0, last_tag_pos + last_tag.length());
if (manifest_sections.has("application_attribs")) {
for (List<String>::Element *E = manifest_sections["application_attribs"].front(); E; E = E->next()) {
if (manifest_sections.has("APPLICATION_ATTRIBS")) {
for (List<String>::Element *E = manifest_sections["APPLICATION_ATTRIBS"].front(); E; E = E->next()) {
String to_add = E->get().strip_edges();
base += " " + to_add + " ";
}