| 198 | } |
| 199 | |
| 200 | void ActivityManager::goToSleep(bool fromTimeout) { |
| 201 | replaceActivity(std::make_unique<SleepActivity>(renderer, mappedInput, fromTimeout)); |
| 202 | loop(); // Important: sleep screen must be rendered immediately, the caller will go to sleep right after this returns |
| 203 | } |
| 204 | |
| 205 | void ActivityManager::goToBoot() { replaceActivity(std::make_unique<BootActivity>(renderer, mappedInput)); } |
| 206 |
no test coverage detected