___

***Bugsquad note:** This issue has been confirmed several times already. No need to confirm it further.*

___

### Godot version

v4.0.2.stable.official [7a0977ce2]

### System information

Ubuntu 22.04

### Issue description

I followed this tutorial
https://docs.godotengine.org/en/stable/tutorials/export/android_custom_build.html#doc-android-custom-build.

I want to create Android launcher app to do this i added following code to AndroidManifest.xml in Android Studio.
`<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />`

But when I export APK my modifications are removed from AndroidManifest.xml.


### Steps to reproduce

Followed this tutorial
https://docs.godotengine.org/en/stable/tutorials/export/android_custom_build.html#doc-android-custom-build.

then open android project in Android studio and edit AndroidManifest.xml.

### Minimal reproduction project

N/A

String processed_splash_config_xml = load_splash_refs(splash_image, splash_bg_color_image);
	Ref<Image> main_image;
	Ref<Image> foreground;
	Ref<Image> background;
	load_icon_refs(p_preset, main_image, foreground, background);
	Vector<uint8_t> command_line_flags;
	
	get_command_line_flags(p_preset, p_path, p_flags, command_line_flags);
	if (export_format == EXPORT_FORMAT_AAB) {
		if (!p_path.ends_with(".aab")) {
			add_message(EXPORT_MESSAGE_ERROR, TTR("Export"), TTR("Invalid filename! Android App Bundle requires the *.aab extension."));
			return ERR_UNCONFIGURED;
		}
		if (apk_expansion) {
			add_message(EXPORT_MESSAGE_ERROR, TTR("Export"), TTR("APK Expansion not compatible with Android App Bundle."));
			return ERR_UNCONFIGURED;
		}
	}
	if (export_format == EXPORT_FORMAT_APK && !p_path.ends_with(".apk")) {
		add_message(EXPORT_MESSAGE_ERROR, TTR("Export"), TTR("Invalid filename! Android APK requires the *.apk extension."));
		return ERR_UNCONFIGURED;
	}
	if (export_format > EXPORT_FORMAT_AAB || export_format < EXPORT_FORMAT_APK) {
		add_message(EXPORT_MESSAGE_ERROR, TTR("Export"), TTR("Unsupported export format!"));
		return ERR_UNCONFIGURED;
	}
	if (use_gradle_build) {
		print_verbose("Starting gradle build...");
		
		{