Pablo
07/10/2025, 2:44 PMActivity recreation is disabled for size-based configuration changes when you have android:configChanges="screenSize|smallestScreenSize|orientation|screenLayout" in your manifest file.
I'm having a rare behaviour when compiling for Android 16 and using android:appCategory="game"
. Even with configChanges="orientation"
specified on manifest and this on my activity:
override fun onConfigurationChanged(newConfig: Configuration) {
super.onConfigurationChanged(newConfig)
}
I'm seeing that when orientation is changed, onPause, onDestroy and onCreate are being called again.Chrimaeon
07/11/2025, 6:55 AM