summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands
diff options
context:
space:
mode:
authorAlex Kutsan <akutsan@luxoft.com>2017-01-18 12:07:17 +0200
committerAlex Kutsan <akutsan@luxoft.com>2017-01-18 12:10:07 +0200
commit8481dfacf49d3ebf578140e9ea784b1dc34d587b (patch)
tree0580bf354deeb1829f866cb0fb9e656cf7906655 /src/components/application_manager/src/commands
parente325c8bc87099c5743ac54e22ac0c649991b6b45 (diff)
downloadsdl_core-8481dfacf49d3ebf578140e9ea784b1dc34d587b.tar.gz
Send OnStatusUpdate right after OnApplicationregistered
Nofify update manager about new application before trigering PTU Related issue : APPLINK-31606
Diffstat (limited to 'src/components/application_manager/src/commands')
-rw-r--r--src/components/application_manager/src/commands/mobile/register_app_interface_request.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/application_manager/src/commands/mobile/register_app_interface_request.cc b/src/components/application_manager/src/commands/mobile/register_app_interface_request.cc
index 151037065d..1ac264ca4a 100644
--- a/src/components/application_manager/src/commands/mobile/register_app_interface_request.cc
+++ b/src/components/application_manager/src/commands/mobile/register_app_interface_request.cc
@@ -643,12 +643,12 @@ void RegisterAppInterfaceRequest::SendRegisterAppInterfaceResponseToMobile() {
// Default HMI level should be set before any permissions validation, since it
// relies on HMI level.
application_manager_.OnApplicationRegistered(application);
+ (*notify_upd_manager)();
// Start PTU after successfull registration
// Sends OnPermissionChange notification to mobile right after RAI response
// and HMI level set-up
GetPolicyHandler().OnAppRegisteredOnMobile(application->policy_app_id());
- (*notify_upd_manager)();
if (result_code != mobile_apis::Result::RESUME_FAILED) {
resumer.StartResumption(application, hash_id);