N_SE-44648 : fix window raise on submode
[platform/framework/native/appfw.git] / src / app / FApp_AppControlProviderManagerImpl.cpp
index cf5482d..9e40660 100644 (file)
@@ -34,6 +34,7 @@
 #include "FApp_Aul.h"
 #include "FApp_AppArg.h"
 #include "FApp_AppImpl.h"
+#include "FApp_AppInfo.h"
 #include "FApp_AppControlManager.h"
 #include "FApp_AppControlProviderManagerImpl.h"
 
@@ -78,7 +79,7 @@ _AppControlProviderManagerImpl::SendAppControlResult(RequestId reqId, const ILis
        SysTryReturn(NID_APP, !IsFailed(r), r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        //resArg.Print();
-       r = _Aul::SendResult(resArg.GetBundle(), static_cast<appsvc_result_val>(0));
+       r = _Aul::SendResult(resArg.GetBundle(), static_cast<appsvc_result_val>(0), _AppInfo::IsSubMode());
        SysLog(NID_APP, "Sent AppControl event for %d.", reqId);
 
        // erase _AppArg after sending the result back to the caller
@@ -128,7 +129,7 @@ _AppControlProviderManagerImpl::SendAppControlResult(RequestId reqId, AppCtrlRes
        }
 
        //resArg.Print();
-       r = _Aul::SendResult(resArg.GetBundle(), static_cast<appsvc_result_val>(res));
+       r = _Aul::SendResult(resArg.GetBundle(), static_cast<appsvc_result_val>(res), _AppInfo::IsSubMode());
        SysLog(NID_APP, "Sent AppControl event for %d.", reqId);
 
        // erase _AppArg after sending the result back to the caller