___

***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

if (tname == "application" && attrname == "hasFragileUserData") {
						encode_uint32(retain_data_on_uninstall, &p_manifest.write[iofs + 16]);
					}
					if (tname == "activity" && attrname == "screenOrientation") {
						encode_uint32(screen_orientation, &p_manifest.write[iofs + 16]);
					}
					if (tname == "activity" && attrname == "excludeFromRecents") {
						encode_uint32(exclude_from_recents, &p_manifest.write[iofs + 16]);
					}
					if (tname == "activity" && attrname == "resizeableActivity") {
						encode_uint32(is_resizeable, &p_manifest.write[iofs + 16]);
					}
					if (tname == "provider" && attrname == "authorities") {
						string_table.write[attr_value] = get_package_name(package_name) + String(".fileprovider");
					}
					if (tname == "supports-screens") {
						if (attrname == "smallScreens") {
							encode_uint32(screen_support_small ? 0xFFFFFFFF : 0, &p_manifest.write[iofs + 16]);
						} else if (attrname == "normalScreens") {
							encode_uint32(screen_support_normal ? 0xFFFFFFFF : 0, &p_manifest.write[iofs + 16]);
						} else if (attrname == "largeScreens") {
							encode_uint32(screen_support_large ? 0xFFFFFFFF : 0, &p_manifest.write[iofs + 16]);
						} else if (attrname == "xlargeScreens") {
							encode_uint32(screen_support_xlarge ? 0xFFFFFFFF : 0, &p_manifest.write[iofs + 16]);
						}
					}
					iofs += 20;
				}
			} break;
			case CHUNK_XML_END_TAG: {