I have an issue with new Android 16 behaviour chan...
# android
p
I have an issue with new Android 16 behaviour change of ignoring activity orientation specified in manifest. Even having
appCategory="game"
in manifest and the activity forced to "landscape", the OS rotates the screen, displaying the game in portrait but simulating a fake landscape mode, with two black spaces on top and bottom of the game screen. But the main issue is that is destroying and recreating my activity. That breaks completly the game. How is supposed we should sholve this? Some games are old games developed a lot of years ago, even in java, and are not prepared to survive activity recreation. Supposedly
appCategory="game"
should help us keeping our games alive in Android 16, but that onDestroy and onCreate doesn't help.
not kotlin but kotlin colored 3