diff options
author | Pavel Zhdanov (GitHub) <39907184+ZhdanovP@users.noreply.github.com> | 2020-06-08 18:03:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-08 11:03:06 -0400 |
commit | 908b473c971e98581dbc7fd026361406766b81c0 (patch) | |
tree | d40f55b46e0336fc3ff8b1d5ca28a7136a7ab8e0 /src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src | |
parent | 343f003df46a3abfbc3c88e0716c37c5a2638559 (diff) | |
download | sdl_core-908b473c971e98581dbc7fd026361406766b81c0.tar.gz |
Sdl must store onWayPointChange internally (#2490)
* Add saving way points during notification
- When OnWayPointNotification appeared the wayPoint is saving
- When new app subscribing on wayPointNotification stored way points are sending to app
* Add unit tests
* fix style, update to remove (uint32_t) overload of SubscribeAppForWayPoints
Co-authored-by: collin <collin+i@collinmcqueen.com>
Diffstat (limited to 'src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src')
-rw-r--r-- | src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/on_way_point_change_notification.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/on_way_point_change_notification.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/on_way_point_change_notification.cc index e89ede53b9..39e0735013 100644 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/on_way_point_change_notification.cc +++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/on_way_point_change_notification.cc @@ -65,6 +65,7 @@ void OnWayPointChangeNotification::Run() { (*message_)[strings::params][strings::connection_key] = *app_id; SendNotification(); } + application_manager_.SaveWayPointsMessage(message_); } } // namespace commands } // namespace sdl_rpc_plugin |