diff options
Diffstat (limited to 'src/components')
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/commands/mobile/perform_app_service_interaction_request.cc b/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/commands/mobile/perform_app_service_interaction_request.cc index 4046ac7379..63b6e47d8e 100644 --- a/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/commands/mobile/perform_app_service_interaction_request.cc +++ b/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/commands/mobile/perform_app_service_interaction_request.cc @@ -95,7 +95,7 @@ void PerformAppServiceInteractionRequest::Run() { bool activate_service = request_service_active && !service->record[strings::service_active].asBool(); if (activate_service) { - if (app->is_foreground()) { + if (app->IsFullscreen()) { // App is in foreground, we can just activate the service application_manager_.GetAppServiceManager().ActivateAppService( service_id); diff --git a/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/commands/mobile/publish_app_service_request.cc b/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/commands/mobile/publish_app_service_request.cc index 171c10913e..bb0855d42f 100644 --- a/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/commands/mobile/publish_app_service_request.cc +++ b/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/commands/mobile/publish_app_service_request.cc @@ -111,7 +111,7 @@ void PublishAppServiceRequest::Run() { smart_objects::SmartObject service_record = application_manager_.GetAppServiceManager().PublishAppService( manifest, true, connection_key()); - if (app->is_foreground()) { + if (app->IsFullscreen()) { // Service should be activated if app is in the foreground application_manager_.GetAppServiceManager().ActivateAppService( service_record[strings::service_id].asString()); |