This function will be called when the app is inactive. Note, when receiving a phone call it is invoked.
| 139 | |
| 140 | // This function will be called when the app is inactive. Note, when receiving a phone call it is invoked. |
| 141 | void AppDelegate::applicationDidEnterBackground() |
| 142 | { |
| 143 | if (_testController) |
| 144 | { |
| 145 | // _testController->onEnterBackground(); |
| 146 | } |
| 147 | |
| 148 | Director::getInstance()->stopAnimation(); |
| 149 | } |
| 150 | |
| 151 | // this function will be called when the app is active again |
| 152 | void AppDelegate::applicationWillEnterForeground() |
nothing calls this directly
no test coverage detected