From 46c68c0fb97d08beab0ef010d69854b68fc2eb11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 7 Jul 2021 00:49:00 +0200 Subject: [PATCH] Android: Fix truncated `application` attributes after #50028 cherry-pick The `android:icon` attribute is expected to be the last one in the application definition, as documented by the comment. cd64bcd missed that and caused some arguments to be truncated. Fixes #50224. --- platform/android/export/gradle_export_util.h | 4 ++-- platform/android/java/app/AndroidManifest.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/android/export/gradle_export_util.h b/platform/android/export/gradle_export_util.h index 80cdd596b70..48a0beef957 100644 --- a/platform/android/export/gradle_export_util.h +++ b/platform/android/export/gradle_export_util.h @@ -264,11 +264,11 @@ String _get_application_tag(const Ref &p_preset, bool p_has_ String manifest_application_text = vformat( " \n\n" + " tools:ignore=\"GoogleAppIndexingWarning\"\n" + " android:icon=\"@mipmap/icon\" >\n\n" " \n", bool_to_string(p_preset->get("user_data_backup/allow")), bool_to_string(p_preset->get("package/classify_as_game")), diff --git a/platform/android/java/app/AndroidManifest.xml b/platform/android/java/app/AndroidManifest.xml index c790d08c2fb..118b9cd97f5 100644 --- a/platform/android/java/app/AndroidManifest.xml +++ b/platform/android/java/app/AndroidManifest.xml @@ -28,7 +28,7 @@ - +