Disabling the default splash screen that was introduced in Android 12 is not straight-forward. In my opinion, the simplest approach is to modify the app styles.
In your app's values/styles.xml
file, make sure you have a "BaseTheme" and an "AppTheme". For example:
<resources>
<style name="BaseTheme" parent="Theme.AppCompat">
<!-- [...] -->
</style>
<style name="AppTheme" parent="BaseTheme" />
</resources>
Then, in values-v31/styles.xml
and more recent versions (e.g., v32), extend "BaseTheme" by adding these items:
<resources>
<style name="AppTheme" parent="BaseTheme">
<item name="android:windowSplashScreenAnimatedIcon">@android:color/transparent</item>
<item name="android:windowSplashScreenAnimationDuration">0</item>
</style>
</resources>
That way, the default splash screen will be blank, having the background color inherited from "BaseTheme".