___

***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 orientation = _get_android_orientation_label(DisplayServer::ScreenOrientation(int(GLOBAL_GET("display/window/handheld/orientation"))));
	String manifest_activity_text = vformat(
			"        <activity android:name=\"com.godot.game.GodotApp\" "
			"tools:replace=\"android:screenOrientation,android:excludeFromRecents,android:resizeableActivity\" "
			"tools:node=\"mergeOnlyAttributes\" "
			"android:excludeFromRecents=\"%s\" "
			"android:screenOrientation=\"%s\" "
			"android:resizeableActivity=\"%s\">\n",
			bool_to_string(p_preset->get("package/exclude_from_recents")),
			orientation,
			bool_to_string(bool(GLOBAL_GET("display/window/size/resizable"))));
	if (p_uses_xr) {