diff options
author | AKalinich-Luxoft <AKalinich@luxoft.com> | 2018-06-04 17:19:21 +0300 |
---|---|---|
committer | AKalinich-Luxoft <AKalinich@luxoft.com> | 2018-06-04 17:19:21 +0300 |
commit | 112c685ae48d7cf939e3d2147453de1719862ec6 (patch) | |
tree | 2000f1762639709ec4b3ed087a60d2e3a576e32f /src/components/connection_handler/src | |
parent | 9ca6d28bdf22eb1c4db71d417f503568d00d5869 (diff) | |
download | sdl_core-112c685ae48d7cf939e3d2147453de1719862ec6.tar.gz |
Move out unrelated to feature changes
There was included some changes related to
certificate processing. They will be included
into related pull request
Diffstat (limited to 'src/components/connection_handler/src')
-rw-r--r-- | src/components/connection_handler/src/connection_handler_impl.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/connection_handler/src/connection_handler_impl.cc b/src/components/connection_handler/src/connection_handler_impl.cc index 59865ac4b2..b97c6eacd4 100644 --- a/src/components/connection_handler/src/connection_handler_impl.cc +++ b/src/components/connection_handler/src/connection_handler_impl.cc @@ -467,6 +467,14 @@ void ConnectionHandlerImpl::OnSessionStartedCallback( const uint32_t session_key = KeyFromPair(connection_handle, context.new_session_id_); + uint32_t app_id = 0; + GetDataOnSessionKey( + session_key, &app_id, NULL, static_cast<DeviceHandle*>(NULL)); + if (app_id > 0) { + context.is_ptu_required_ = + !connection_handler_observer_->CheckAppIsNavi(app_id); + } + { sync_primitives::AutoLock auto_lock(start_service_context_map_lock_); start_service_context_map_[session_key] = context; |