summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndriy Byzhynar (GitHub) <AByzhynar@luxoft.com>2019-08-21 17:34:18 +0300
committerAndriy Byzhynar (GitHub) <AByzhynar@luxoft.com>2019-08-21 17:34:18 +0300
commit9821bd726af2f27e440339b44a3d959f2895c010 (patch)
treed2fd8f468f086826737cda576d84c38d2a5e2d86
parentac3e91dd2747affc2d7cb08d2b8be1b318e0677b (diff)
downloadsdl_core-9821bd726af2f27e440339b44a3d959f2895c010.tar.gz
fixup! Fixes after rebase
-rw-r--r--src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc3
-rw-r--r--src/components/policy/policy_regular/test/policy_manager_impl_test.cc6
2 files changed, 6 insertions, 3 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc
index 22dc8c7b7a..f6d173d080 100644
--- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc
+++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc
@@ -869,7 +869,8 @@ void RegisterAppInterfaceRequest::SendRegisterAppInterfaceResponseToMobile(
// Start PTU after successfull registration
// Sends OnPermissionChange notification to mobile right after RAI response
// and HMI level set-up
- GetPolicyHandler().OnAppRegisteredOnMobile(application->mac_address(), application->policy_app_id());
+ GetPolicyHandler().OnAppRegisteredOnMobile(application->mac_address(),
+ application->policy_app_id());
if (resumption) {
if (result_code != mobile_apis::Result::RESUME_FAILED) {
resumer.StartResumption(application, hash_id);
diff --git a/src/components/policy/policy_regular/test/policy_manager_impl_test.cc b/src/components/policy/policy_regular/test/policy_manager_impl_test.cc
index 7ea35d7eec..eb06856eae 100644
--- a/src/components/policy/policy_regular/test/policy_manager_impl_test.cc
+++ b/src/components/policy/policy_regular/test/policy_manager_impl_test.cc
@@ -654,7 +654,8 @@ TEST_F(
.WillRepeatedly(Return(dev_id1));
manager->SetUserConsentForDevice(dev_id1, true);
// Add app from consented device. App will be assigned with default policies
- manager->AddApplication(app_id1, app_id1, HmiTypes(policy_table::AHT_DEFAULT));
+ manager->AddApplication(
+ app_id1, app_id1, HmiTypes(policy_table::AHT_DEFAULT));
EXPECT_CALL(listener, GetDevicesIds(app_id1))
.WillRepeatedly(Return(transport_manager::DeviceList()));
// Act
@@ -709,7 +710,8 @@ TEST_F(
.WillRepeatedly(Return(dev_id1));
manager->SetUserConsentForDevice(dev_id1, true);
// Add app from consented device. App will be assigned with default policies
- manager->AddApplication(dev_id1, app_id1, HmiTypes(policy_table::AHT_DEFAULT));
+ manager->AddApplication(
+ dev_id1, app_id1, HmiTypes(policy_table::AHT_DEFAULT));
EXPECT_CALL(listener, GetDevicesIds(app_id1))
.WillRepeatedly(Return(transport_manager::DeviceList()));
// Act