How to reproduce:
1. Open a new Unity project
2. Set “Install Location” to anything besides “Prefer External” in the Player Settings
3. Toggle on the “Export Project” flag in the Build Settings
4. Export the project
5. Observe the contents of “AndroidManifest.xml” file located under the exported project
Expected result: android:installLocation is the equivalent value set in the Player Settings
Actual result: android:installLocation="preferExternal" is set in the file
Reproducible with: 2022.2.0a16, 2022.2.7f1, 2023.1.0b4, 2023.2.0a2
Not reproducible with: 2021.3.18f1, 2022.2.0a15
Couldn’t test with: 2020.3.45f1 (no InstallLocation field in the Player Settings)
Reproduced on: macOS 13.0 (Intel)