From 3e9ec226e359839e05fb8567b12d3e35b16a9141 Mon Sep 17 00:00:00 2001 From: Andriy Byzhynar Date: Tue, 30 Jan 2018 17:05:27 +0200 Subject: Treat projection app as audio app Add projection app to audio app list as it can stream audio This is done to enable HMI leve switching to LIMITED level. --- src/components/application_manager/src/application_impl.cc | 3 ++- src/components/connection_handler/src/connection.cc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/application_manager/src/application_impl.cc b/src/components/application_manager/src/application_impl.cc index ac21219d7d..3d3a541508 100644 --- a/src/components/application_manager/src/application_impl.cc +++ b/src/components/application_manager/src/application_impl.cc @@ -230,7 +230,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) { diff --git a/src/components/connection_handler/src/connection.cc b/src/components/connection_handler/src/connection.cc index 16b88c4164..614120312a 100644 --- a/src/components/connection_handler/src/connection.cc +++ b/src/components/connection_handler/src/connection.cc @@ -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 -- cgit v1.2.1