diff options
author | jacobkeeler <jacob.keeler@livioradio.com> | 2019-03-22 15:06:25 -0400 |
---|---|---|
committer | jacobkeeler <jacob.keeler@livioradio.com> | 2019-03-22 15:06:25 -0400 |
commit | 645b370783a3e93361d1bd88069f3a2cc0481ba7 (patch) | |
tree | 3bdd56f6107f9131c1c16f9fd4328de90eb9488a | |
parent | fb88c1700b4c4ede7be876ad236c35cbdc2f2052 (diff) | |
download | sdl_core-645b370783a3e93361d1bd88069f3a2cc0481ba7.tar.gz |
Change is_foreground() usages to IsFullscreen()fix/is_foreground_usages
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()); |