summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/mobile/register_app_interface_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/src/commands/mobile/register_app_interface_request.cc')
-rw-r--r--src/components/application_manager/src/commands/mobile/register_app_interface_request.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/application_manager/src/commands/mobile/register_app_interface_request.cc b/src/components/application_manager/src/commands/mobile/register_app_interface_request.cc
index 6088e46e06..4dd14e2075 100644
--- a/src/components/application_manager/src/commands/mobile/register_app_interface_request.cc
+++ b/src/components/application_manager/src/commands/mobile/register_app_interface_request.cc
@@ -674,7 +674,13 @@ void RegisterAppInterfaceRequest::SendRegisterAppInterfaceResponseToMobile(
LOG4CXX_DEBUG(logger_,
"Application has been switched from another transport.");
- if (!resumption || mobile_apis::Result::RESUME_FAILED == result_code) {
+ if (hash_id.empty() && resumer.CheckApplicationHash(application, hash_id)) {
+ LOG4CXX_INFO(logger_,
+ "Application does not have hashID saved and neither "
+ "provided it with RAI. Nothing to resume.");
+ result_code = mobile_apis::Result::SUCCESS;
+ } else if (!resumption ||
+ mobile_apis::Result::RESUME_FAILED == result_code) {
application_manager::RecallApplicationData(application,
application_manager_);
resumer.RemoveApplicationFromSaved(application);