diff options
Diffstat (limited to 'src/components/application_manager/src/commands/mobile/subscribe_way_points_request.cc')
-rw-r--r-- | src/components/application_manager/src/commands/mobile/subscribe_way_points_request.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/application_manager/src/commands/mobile/subscribe_way_points_request.cc b/src/components/application_manager/src/commands/mobile/subscribe_way_points_request.cc index e749d4f3db..8134730eee 100644 --- a/src/components/application_manager/src/commands/mobile/subscribe_way_points_request.cc +++ b/src/components/application_manager/src/commands/mobile/subscribe_way_points_request.cc @@ -32,6 +32,7 @@ void SubscribeWayPointsRequest::Run() { if (application_manager_.IsAnyAppSubscribedForWayPoints()) { application_manager_.SubscribeAppForWayPoints(app->app_id()); SendResponse(true, mobile_apis::Result::SUCCESS); + app->UpdateHash(); return; } @@ -54,6 +55,9 @@ void SubscribeWayPointsRequest::on_event(const event_engine::Event& event) { application_manager_.SubscribeAppForWayPoints(app->app_id()); } SendResponse(result, result_code, NULL, &(message[strings::msg_params])); + if (result) { + app->UpdateHash(); + } break; } default: { |