| 182 | public: |
| 183 | |
| 184 | void onCreate(AppContext& app) override { |
| 185 | // Snapshot before the boot thread potentially clears the flag via setupUsbBootMode() |
| 186 | isUsbBootSplash = hal::usb::isUsbBootMode(); |
| 187 | |
| 188 | // Just in case this app is somehow resumed |
| 189 | if (thread.getState() == Thread::State::Stopped) { |
| 190 | thread.start(); |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | void onDestroy(AppContext& app) override { |
| 195 | thread.join(); |
nothing calls this directly
no test coverage detected