summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins
diff options
context:
space:
mode:
authorsniukalov <sniukalov@luxoft.com>2019-06-26 09:46:48 +0300
committersniukalov <sniukalov@luxoft.com>2019-08-14 14:59:39 +0300
commitb0512e4d3cdf44deef47306b0e6966805ed84f6e (patch)
treec2cc1e88667bf6018570773d2506a8ff8a62a934 /src/components/application_manager/rpc_plugins
parent24d64b35135d5d3fb9be4daf64e833a085c771ab (diff)
downloadsdl_core-b0512e4d3cdf44deef47306b0e6966805ed84f6e.tar.gz
Fixed sending a secondary message APPLICATION_REGISTERED_ALREADY
Diffstat (limited to 'src/components/application_manager/rpc_plugins')
-rw-r--r--src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc
index 597df26d0a..9eb6d2e2d6 100644
--- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc
+++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc
@@ -1339,7 +1339,7 @@ bool RegisterAppInterfaceRequest::IsApplicationSwitched() {
logger_,
"Policy id " << policy_app_id << " is not found in reconnection list.");
SendResponse(false, mobile_apis::Result::APPLICATION_REGISTERED_ALREADY);
- return false;
+ return true;
}
LOG4CXX_DEBUG(logger_, "Application is found in reconnection list.");