From: Hyunbin Lee Date: Fri, 10 May 2013 07:06:23 +0000 (+0900) Subject: Resolve result cancel issue of DataControl provider. X-Git-Tag: accepted/tizen/20130912.081851^2~307^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32b3e5711517248dfd6f513490edba2d974eaf07;p=platform%2Fframework%2Fnative%2Fappfw.git Resolve result cancel issue of DataControl provider. Change-Id: I8c15243e4af791d9af113d52a1fe3d11fd28864a Signed-off-by: Hyunbin Lee --- diff --git a/src/app/FApp_AppArg.cpp b/src/app/FApp_AppArg.cpp index c35521e..0bb0123 100755 --- a/src/app/FApp_AppArg.cpp +++ b/src/app/FApp_AppArg.cpp @@ -1031,6 +1031,7 @@ _AppArg::CreateSqlDataControlArg(bundle* b, const _SqlDataControlImpl& dc, _Data snprintf(dataControlRequestType, MAX_LEN_DATA_CONTROL_REQ_TYPE, "%d", static_cast(requestType)); bundle_add(b, OSP_K_DATACONTROL_REQUEST_TYPE, dataControlRequestType); bundle_add(b, OSP_K_DATACONTROL_PROTOCOL_VERSION, OSP_V_VERSION_2_1_0_3); + bundle_add(b, AUL_K_NO_CANCEL, "1"); std::unique_ptr pProvider(_StringConverter::CopyToCharArrayN(dc.__providerId)); if (pProvider) @@ -1056,6 +1057,7 @@ _AppArg::CreateMapDataControlArg(bundle* b, const _MapDataControlImpl& dc, _Data snprintf(dataControlRequestType, MAX_LEN_DATA_CONTROL_REQ_TYPE, "%d", static_cast < int >(requestType)); bundle_add(b, OSP_K_DATACONTROL_REQUEST_TYPE, dataControlRequestType); bundle_add(b, OSP_K_DATACONTROL_PROTOCOL_VERSION, OSP_V_VERSION_2_1_0_3); + bundle_add(b, AUL_K_NO_CANCEL, "1"); std::unique_ptr pProvider(_StringConverter::CopyToCharArrayN(dc.__providerId)); if (pProvider) diff --git a/src/app/FApp_AppImpl.cpp b/src/app/FApp_AppImpl.cpp index 7b187c4..71354b5 100644 --- a/src/app/FApp_AppImpl.cpp +++ b/src/app/FApp_AppImpl.cpp @@ -516,7 +516,7 @@ _AppImpl::HandleAppRequest(service_s* service, int req, _AppHandler handler) OnDataControlRequestReceived(*pArg, static_cast< RequestId >(req)); - _AppControlManager::GetInstance()->RemoveResultRequest(req); + //_AppControlManager::GetInstance()->RemoveResultRequest(req); break; case _APP_HANDLER_LAUNCH_COND: