From b73078db70bfe08a5b56c9aa7377ce726964f3fb Mon Sep 17 00:00:00 2001 From: "Andriy Byzhynar (GitHub)" Date: Thu, 30 Apr 2020 17:29:22 +0300 Subject: Remove redundant code --- .../application_manager/src/state_controller_impl.cc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/components/application_manager/src/state_controller_impl.cc b/src/components/application_manager/src/state_controller_impl.cc index 70ba9ef8a8..c4a77bccc6 100644 --- a/src/components/application_manager/src/state_controller_impl.cc +++ b/src/components/application_manager/src/state_controller_impl.cc @@ -1270,15 +1270,7 @@ mobile_apis::VideoStreamingState::eType StateControllerImpl::CalcVideoState( const mobile_apis::HMILevel::eType hmi_level) const { auto state = mobile_apis::VideoStreamingState::NOT_STREAMABLE; - if (app->webengine_projection_enabled()) { - LOG4CXX_DEBUG(logger_, - "Calculated video state of app " - << app->app_id() << " for " << hmi_level - << " HMI level is " << state); - return state; - } - - if (IsStreamableHMILevel(hmi_level) && app->IsVideoApplication()) { + if (app->IsVideoApplication() && IsStreamableHMILevel(hmi_level)) { state = mobile_apis::VideoStreamingState::STREAMABLE; } -- cgit v1.2.1