Screen Orientation in Ice Cream Sandwich?
Hello,
First time posting here. I've got an app that I run in just landscape mode. I force landscape mode by doing the following in the app.xml file:
<initialWindow>
<autoOrients>false</autoOrients>
<fullScreen>false</fullScreen>
<visible>true</visible>
<aspectRatio>landscape</aspectRatio>
<softKeyboardBehavior>none</softKeyboardBehavior>
</initialWindow>
This has been working perfectly. However, I recently got a Galaxy Nexus (with ICS) and when I run the app on there, if I lock the screen with the app open, when I unlock it, the screen is in portrait and I cannot change it back to landscape without restarting the app. I tried doing stage.SetOrientation when the screen is activated again to see if that would be a fix, but this causes the phone to completely freeze when I attempt to unlock it. The app works as expected on other phones, so I'm guessing this is an ICS issue. Anybody know a workaround?
I appreciate any help. I've spent quite a few hours and time searching for an answer to this, but haven't had any luck. Thanks!
