I am developing a game that uses only landscape orientation. I am using android:screenOrientation="landscape" for that. In my game when I login to the GPG, a splash screen appears, then a dialog to choose an account. If during that period ( splash screen, account dialog ) I switch off my phone, rotate it verticaly to the portrait mode, and then switch it back on , the GPG dialogs are rotated to the portrait orientation and the same happens to my game, wich leads to an awful representation, because the game is sticked to the landscape mode.
I also found that it happens with the other games like clash of clans and unity based games.
The version is 9.6.0, I am using ndk and gpg-cpp-sdk
I am developing a game that uses only landscape orientation. I am using android:screenOrientation="landscape" for that. In my game when I login to the GPG, a splash screen appears, then a dialog to choose an account. If during that period ( splash screen, account dialog ) I switch off my phone, rotate it verticaly to the portrait mode, and then switch it back on , the GPG dialogs are rotated to the portrait orientation and the same happens to my game, wich leads to an awful representation, because the game is sticked to the landscape mode. I also found that it happens with the other games like clash of clans and unity based games. The version is 9.6.0, I am using ndk and gpg-cpp-sdk