mirror of https://github.com/axmolengine/axmol.git
Merge branch 'master' of https://github.com/yangws/cocos2d-x into yangws-master
This commit is contained in:
commit
f3126de646
|
@ -54,15 +54,15 @@ Boolean CCXApplication::EventHandler(EventType * pEvent)
|
|||
{
|
||||
StopMainLoop();
|
||||
}
|
||||
// CfgTurnOnBackLightEx(SYS_BACK_LIGHT_MODE_TIME_LONG);
|
||||
CfgTurnOnBackLight();
|
||||
EnableKeyLock();
|
||||
}
|
||||
else if (pEvent->sParam1 > 0)
|
||||
{
|
||||
// CfgTurnOnBackLightEx(SYS_BACK_LIGHT_MODE_TIME_ALWAYS);
|
||||
applicationWillEnterForeground();
|
||||
StartMainLoop();
|
||||
|
||||
CfgTurnOnBackLightDelay(0x7fffffff);
|
||||
// if KeyLock disactived, disable it.
|
||||
if (! CfgKeyLock_GetActive())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue