Skip to content

Commit

Permalink
Treat projection app as audio app
Browse files Browse the repository at this point in the history
Add projection app to audio app list as it can stream audio
This is done to enable HMI leve switching to LIMITED level.
  • Loading branch information
AByzhynar committed Feb 15, 2018
1 parent 4824ecb commit f6b345a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/application_manager/src/application_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ void ApplicationImpl::set_voice_communication_supported(
}

bool ApplicationImpl::IsAudioApplication() const {
return is_media_ || is_voice_communication_application_ || is_navi_;
return is_media_ || is_voice_communication_application_ || is_navi_ ||
mobile_projection_enabled_;
}

void ApplicationImpl::SetRegularState(HmiStatePtr state) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/connection_handler/src/connection.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, Ford Motor Company
* Copyright (c) 2018, Ford Motor Company
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down

0 comments on commit f6b345a

Please sign in to comment.