diff options
Diffstat (limited to 'src/components/application_manager/src/resumption/resume_ctrl_impl.cc')
-rw-r--r-- | src/components/application_manager/src/resumption/resume_ctrl_impl.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/application_manager/src/resumption/resume_ctrl_impl.cc b/src/components/application_manager/src/resumption/resume_ctrl_impl.cc index d5490c8730..486cb76369 100644 --- a/src/components/application_manager/src/resumption/resume_ctrl_impl.cc +++ b/src/components/application_manager/src/resumption/resume_ctrl_impl.cc @@ -91,7 +91,7 @@ bool ResumeCtrlImpl::get_resumption_active() const { } #endif // BUILD_TESTS -bool ResumeCtrlImpl::Init(resumption::LastState& last_state) { +bool ResumeCtrlImpl::Init(resumption::LastStateWrapperPtr last_state_wrapper) { bool use_db = application_manager_.get_settings().use_db_for_resumption(); if (use_db) { resumption_storage_.reset( @@ -120,7 +120,7 @@ bool ResumeCtrlImpl::Init(resumption::LastState& last_state) { } } else { resumption_storage_.reset( - new ResumptionDataJson(last_state, application_manager_)); + new ResumptionDataJson(last_state_wrapper, application_manager_)); if (!resumption_storage_->Init()) { LOG4CXX_DEBUG(logger_, "Resumption storage initialisation failed"); return false; @@ -377,6 +377,10 @@ void ResumeCtrlImpl::RemoveFromResumption(uint32_t app_id) { queue_lock_.Release(); } +bool ResumeCtrlImpl::Init(LastState&) { + return false; +} + bool ResumeCtrlImpl::SetAppHMIState( ApplicationSharedPtr application, const mobile_apis::HMILevel::eType hmi_level, |