diff options
author | Jacob Keeler <jacob.keeler@livioradio.com> | 2018-07-12 11:14:34 -0400 |
---|---|---|
committer | Jacob Keeler <jacob.keeler@livioradio.com> | 2018-07-12 11:14:34 -0400 |
commit | 87a1963cee747b72cab56634221008a6d844018d (patch) | |
tree | a6774b1234a2428f713abc16a057e15fdc8c239f /src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc | |
parent | b7da3b5378c7367ce373b43d278a1831f3580cf0 (diff) | |
download | sdl_core-87a1963cee747b72cab56634221008a6d844018d.tar.gz |
Send Driver Distraction notification immediately upon registrationfeature/driver_distraction_on_registration
Diffstat (limited to 'src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc')
-rw-r--r-- | src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc index 20302be585..4706f9742f 100644 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc +++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc @@ -411,6 +411,7 @@ void RegisterAppInterfaceRequest::Run() { smart_objects::SmartObjectSPtr so = GetLockScreenIconUrlNotification(connection_key(), application); rpc_service_.ManageMobileCommand(so, SOURCE_SDL); + application_manager_.SendDriverDistractionState(application); } smart_objects::SmartObjectSPtr |