summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndriy Byzhynar (GitHub) <AByzhynar@luxoft.com>2020-04-30 17:29:22 +0300
committersniukalov <sniukaov@luxoft.com>2020-07-03 11:57:12 +0300
commitb73078db70bfe08a5b56c9aa7377ce726964f3fb (patch)
treecec116200622f8df1595d5290e92048b89846957
parent3316b2df9a8c2d8d29df0036bcfe520488c58371 (diff)
downloadsdl_core-b73078db70bfe08a5b56c9aa7377ce726964f3fb.tar.gz
Remove redundant code
-rw-r--r--src/components/application_manager/src/state_controller_impl.cc10
1 files changed, 1 insertions, 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;
}