diff options
author | collin <collin+i@collinmcqueen.com> | 2021-11-22 09:23:41 -0500 |
---|---|---|
committer | collin <collin+i@collinmcqueen.com> | 2021-11-22 09:23:41 -0500 |
commit | bed8d7af1592023f3ce8578754c5d96b0b8bbe4a (patch) | |
tree | 118ca4003ba49ddda64698b94990a3952ce31a75 | |
parent | 97f3c621a45e69ee4591dc1df64affdec514d708 (diff) | |
download | sdl_core-fix/3813.tar.gz |
restore ResumeCtrlImpl DCHECKsfix/3813
-rw-r--r-- | src/components/application_manager/src/resumption/resume_ctrl_impl.cc | 2 |
1 files changed, 2 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 3e6330625a..96870c12c1 100644 --- a/src/components/application_manager/src/resumption/resume_ctrl_impl.cc +++ b/src/components/application_manager/src/resumption/resume_ctrl_impl.cc @@ -558,6 +558,7 @@ void ResumeCtrlImpl::ResetLaunchTime() { bool ResumeCtrlImpl::CheckPersistenceFilesForResumption( ApplicationSharedPtr application) { SDL_LOG_AUTO_TRACE(); + DCHECK_OR_RETURN(application, false); SDL_LOG_DEBUG(" Resume app_id = " << application->app_id() << " policy_id = " << application->policy_app_id()); smart_objects::SmartObject saved_app; @@ -583,6 +584,7 @@ bool ResumeCtrlImpl::CheckPersistenceFilesForResumption( bool ResumeCtrlImpl::CheckApplicationHash(ApplicationSharedPtr application, const std::string& hash) { SDL_LOG_AUTO_TRACE(); + DCHECK_OR_RETURN(application, false); SDL_LOG_DEBUG("app_id : " << application->app_id() << " hash : " << hash); smart_objects::SmartObject saved_app; const std::string& device_mac = application->mac_address(); |