From 645b370783a3e93361d1bd88069f3a2cc0481ba7 Mon Sep 17 00:00:00 2001 From: jacobkeeler Date: Fri, 22 Mar 2019 15:06:25 -0400 Subject: Change is_foreground() usages to IsFullscreen() --- .../src/commands/mobile/perform_app_service_interaction_request.cc | 2 +- .../src/commands/mobile/publish_app_service_request.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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()); -- cgit v1.2.1