| 26 | extern const ServiceManifest manifest; |
| 27 | |
| 28 | static const char* appStateToString(app::State state) { |
| 29 | switch (state) { |
| 30 | using enum app::State; |
| 31 | case Initial: |
| 32 | return "initial"; |
| 33 | case Created: |
| 34 | return "started"; |
| 35 | case Showing: |
| 36 | return "showing"; |
| 37 | case Hiding: |
| 38 | return "hiding"; |
| 39 | case Destroyed: |
| 40 | return "stopped"; |
| 41 | default: |
| 42 | return "?"; |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | void LoaderService::onStartAppMessage(const std::string& id, app::LaunchId launchId, std::shared_ptr<const Bundle> parameters) { |
| 47 | LOGGER.info("Start by id {}", id); |
no outgoing calls
no test coverage detected