Add datacontrol.consumer privilege to DataControl
[platform/framework/native/appfw.git] / src / app / FApp_AppImpl.cpp
index b7485b0..e41f92a 100644 (file)
@@ -322,10 +322,6 @@ _AppImpl::OnService(service_s* service, void* user_data)
                        }
                        free(pBuf);
                }
-               else
-               {
-                       SysLog(NID_APP, "It is failed to get multi-window value: %d", errVal);
-               }
 
                // call for callbacks
                // ptr to member function
@@ -515,7 +511,11 @@ _AppImpl::RegisterAppRequest(service_s* service, int& req, _AppHandler& handler)
        SysTryReturnResult(NID_APP, pManager != null, E_SYSTEM, "Wrong system state.");
 
        result r = pManager->RegisterRequest(service, req, handler);
-       SysTryReturn(NID_APP, !IsFailed(r), r, r, "[%s] Propagating.", GetErrorMessage(r));
+       if (IsFailed(r))
+       {
+               SysPropagate(NID_APP, r);
+               return r;
+       }
 
        int providerType = _AppInfo::GetAppHandlerType();
        providerType |= (_APP_HANDLER_LAUNCH_NORMAL | _APP_HANDLER_LAUNCH_COND);