I created a NET MAU app from the official template and inside Platforms - Android - MainActivity.cs found this code:
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
public class MainActivity : MauiAppCompatActivity
{
}
That means, .NET MAUI handles ConfigChanges.Orientation
by itself. Why is that? Also I figured out that rotation still works, it's not blocked. But what does NET MAUI behind the scenes / what's the reason NET MAUI handles that manually?