diff options
author | fronneburg <fronneburg@xevo.com> | 2018-04-12 10:37:46 -0700 |
---|---|---|
committer | fronneburg <fronneburg@xevo.com> | 2018-04-13 08:04:22 -0700 |
commit | 2136f56aeaaa3fa2b70ae3dad834d8961c77f538 (patch) | |
tree | d493de2308a4d528a238b4dcbd6de3bd03d44852 /src/components/application_manager/src/resumption/resume_ctrl_impl.cc | |
parent | 729bf9caf9eead9cdd69f5e8788754ae3b614485 (diff) | |
download | sdl_core-2136f56aeaaa3fa2b70ae3dad834d8961c77f538.tar.gz |
Merge branch 'feat/application_unit_tests' of ssh://autobitbucket.corp.xevo.com:7999/nar/sdl-core into feature/Ford-WiFi
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 | 5 |
1 files changed, 5 insertions, 0 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 974272129d..d44342d875 100644 --- a/src/components/application_manager/src/resumption/resume_ctrl_impl.cc +++ b/src/components/application_manager/src/resumption/resume_ctrl_impl.cc @@ -81,6 +81,11 @@ void ResumeCtrlImpl::set_resumption_storage( utils::SharedPtr<ResumptionData> mock_storage) { resumption_storage_ = mock_storage; } + +bool ResumeCtrlImpl::get_resumption_active() const { + sync_primitives::AutoLock auto_lock(queue_lock_); + return is_resumption_active_; +} #endif // BUILD_TESTS bool ResumeCtrlImpl::Init(resumption::LastState& last_state) { |