Black screen after going to sleep mode and then come in resume mode

I am developing an android game in Cocos2dx. All thing is fine except when application comes in resume mode after going to sleep mode. If during resume my device is in portrait mode then there is no issue, but if it is in landscape mode then a black screen appears.

Use the force search, Luke. This topic is already discussed several times.

If you think that this is discussed then please can you refer me any link. I searched a lot but didn’t find any thing. That’s why I had posted question here.

Here you are http://www.cocos2d-x.org/forums/6/topics/27903
At first glance the topic seems irrelevant, but there are some useful tips further in the text.

Thanks

android:configChanges=“orientation|screenSize|smallestScreenSize”
above line helps me.