Skip to content

Commit

Permalink
Merge pull request #29 from CustomSDL/hotfix/subscribe-OnSetDriverDevice
Browse files Browse the repository at this point in the history
Hotfix: subscribe OnSetDriverDevice
  • Loading branch information
Konstantin Kolodii committed Jun 11, 2015
2 parents fbbbfd9 + fc3c6be commit 1507744
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/functional_module/src/generic_module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ void GenericModule::OnServiceStateChanged(ServiceState state) {
// We must subscribe to necessary HMI notifications
service_->SubscribeToHMINotification(hmi_api::on_interior_vehicle_data);
service_->SubscribeToHMINotification(hmi_api::on_reverse_apps_allowing);
service_->SubscribeToHMINotification(hmi_api::on_set_driver_device);
// TODO(KKolodiy): for backward compatibility HMI (REVSDL-1134)
service_->SubscribeToHMINotification(hmi_api::on_primary_device);
}
}
Expand Down

0 comments on commit 1507744

Please sign in to comment.