sugard00dles / cocos2d-android-1

Automatically exported from code.google.com/p/cocos2d-android-1
0 stars 0 forks source link

Issue when using CCDirector.kCCDeviceOrientationLandscapeLeft #123

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Hi,
When we use 
CCDirector.sharedDirector().setDeviceOrientation(CCDirector.kCCDeviceOrientation
LandscapeLeft) its having issue when we press lock button.
When we press lock button it calls onPause->onStop->onDestroy.. So we are 
thrown out of out applicaton.
When we are back from locked screen it shows home screen of phone , because 
onDestroy called.
But when we use CCDirector.kCCDeviceOrientationPortrait its working fine, I 
mean it wont call onDestroy and we are resumed to same screen when we are back 
from lock screen.

Please anybody have faced the issue?
Thanks
-BMR

What version of the product are you using? On what operating system?
Latest.

Please provide any additional information below.

Original issue reported on code.google.com by BrewMeR...@gmail.com on 5 May 2012 at 2:27