diff options
author | ShobhitAd <adlakhshobhit@gmail.com> | 2018-11-13 12:13:32 -0500 |
---|---|---|
committer | ShobhitAd <adlakhshobhit@gmail.com> | 2018-11-13 12:13:32 -0500 |
commit | a6912d91f20058789b21c38a0f57a3d9d28b6e57 (patch) | |
tree | 4f1ebdce169dd46fae1dca57bd34a3561cae3aa5 /src/components/application_manager/src/policies/policy_handler.cc | |
parent | d8bda5ad6f4f82d5203e27f18a2fc25f05d7a323 (diff) | |
download | sdl_core-a6912d91f20058789b21c38a0f57a3d9d28b6e57.tar.gz |
Style Fix
Diffstat (limited to 'src/components/application_manager/src/policies/policy_handler.cc')
-rw-r--r-- | src/components/application_manager/src/policies/policy_handler.cc | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/components/application_manager/src/policies/policy_handler.cc b/src/components/application_manager/src/policies/policy_handler.cc index 44f83ab097..8c6de5482c 100644 --- a/src/components/application_manager/src/policies/policy_handler.cc +++ b/src/components/application_manager/src/policies/policy_handler.cc @@ -1915,11 +1915,15 @@ void PolicyHandler::OnSetCloudAppProperties( } if (msg_params.keyExists(strings::hybrid_app_preference)) { std::string hybrid_app_preference; - - mobile_apis::HybridAppPreference::eType value = static_cast<mobile_apis::HybridAppPreference::eType> - (msg_params[strings::hybrid_app_preference].asUInt()); - smart_objects::EnumConversionHelper<mobile_apis::HybridAppPreference::eType>::EnumToString(value, &hybrid_app_preference); - policy_manager_->SetHybridAppPreference(policy_app_id, hybrid_app_preference); + + mobile_apis::HybridAppPreference::eType value = + static_cast<mobile_apis::HybridAppPreference::eType>( + msg_params[strings::hybrid_app_preference].asUInt()); + smart_objects::EnumConversionHelper< + mobile_apis::HybridAppPreference::eType>:: + EnumToString(value, &hybrid_app_preference); + policy_manager_->SetHybridAppPreference(policy_app_id, + hybrid_app_preference); } } |