diff options
author | Artem Nosach <ANosach@luxoft.com> | 2015-03-31 18:18:20 +0300 |
---|---|---|
committer | Artem Nosach <ANosach@luxoft.com> | 2015-04-23 15:32:52 +0300 |
commit | f60e4435e896fc329218327b7b0a8e8e97cee283 (patch) | |
tree | 98fbc28a1822d459c9d2f655c718ad3a6e630ca0 | |
parent | f3f12cb129b29d9bc852ed2543cfaeeadfb62a06 (diff) | |
download | smartdevicelink-f60e4435e896fc329218327b7b0a8e8e97cee283.tar.gz |
Change VR session audio state.
-rw-r--r-- | src/components/application_manager/src/hmi_state.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/components/application_manager/src/hmi_state.cc b/src/components/application_manager/src/hmi_state.cc index 4b4d09581..bc23e501d 100644 --- a/src/components/application_manager/src/hmi_state.cc +++ b/src/components/application_manager/src/hmi_state.cc @@ -30,15 +30,8 @@ void HmiState::set_parent(HmiStatePtr parent) { mobile_apis::AudioStreamingState::eType VRHmiState::audio_streaming_state() const { - using namespace helpers; using namespace mobile_apis; - AudioStreamingState::eType expected_state = AudioStreamingState::NOT_AUDIBLE; - if (state_context_.is_attenuated_supported() && - Compare<HMILevel::eType, EQ, ONE> (hmi_level(), HMILevel::HMI_FULL, - HMILevel::HMI_LIMITED)) { - expected_state = AudioStreamingState::ATTENUATED; - } - return expected_state; + return AudioStreamingState::NOT_AUDIBLE; } VRHmiState::VRHmiState(uint32_t app_id, StateContext& state_context): |