diff options
author | Shobhit Adlakha <adlakhashobhit@gmail.com> | 2019-04-30 09:45:58 -0400 |
---|---|---|
committer | Shobhit Adlakha <adlakhashobhit@gmail.com> | 2019-04-30 09:45:58 -0400 |
commit | 9a04ab51aa9ea24134174b664cacd2488405d431 (patch) | |
tree | 3fd421467857a9133bb89592419fa6a1da5afa44 /src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi | |
parent | 52e637e33cf834b846e7ea30940ec622cb066bc3 (diff) | |
download | sdl_core-9a04ab51aa9ea24134174b664cacd2488405d431.tar.gz |
Added macro to application manager and unit tests
Diffstat (limited to 'src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi')
-rw-r--r-- | src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_exit_application_notification.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_exit_application_notification.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_exit_application_notification.cc index b6d44a4511..6658f41005 100644 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_exit_application_notification.cc +++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/hmi/on_exit_application_notification.cc @@ -106,10 +106,13 @@ void OnExitApplicationNotification::Run() { application_manager_.UnregisterApplication(app_id, Result::SUCCESS); return; } +#if defined(CLOUD_APP_WEBSOCKET_TRANSPORT_SUPPORT) case Common_ApplicationExitReason::CLOSE_CLOUD_CONNECTION: { application_manager_.DisconnectCloudApp(app_impl); break; } +#endif // CLOUD_APP_WEBSOCKET_TRANSPORT_SUPPORT + default: { LOG4CXX_WARN(logger_, "Unhandled reason"); return; |