playgameservices / android-basic-samples

Google Play game services - Android samples
Apache License 2.0
972 stars 973 forks source link

GPG Login overrides orientation of a game #217

Open DaveBy opened 7 years ago

DaveBy commented 7 years ago

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

DaveBy commented 7 years ago

I don't see any reaction to the problem. I can make a video to show that the problem is really exist.

mwgray commented 6 years ago

Was able to reproduce, and I filed a bug with the internal team here.