diff --git a/cocos2dx/platform/uphone/CCXApplication_uphone.cpp b/cocos2dx/platform/uphone/CCXApplication_uphone.cpp index 47204634f0..e4c5893041 100644 --- a/cocos2dx/platform/uphone/CCXApplication_uphone.cpp +++ b/cocos2dx/platform/uphone/CCXApplication_uphone.cpp @@ -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()) {