Resolve result cancel issue of DataControl provider.
authorHyunbin Lee <hyunbin.lee@samsung.com>
Fri, 10 May 2013 07:06:23 +0000 (16:06 +0900)
committerHyunbin Lee <hyunbin.lee@samsung.com>
Tue, 21 May 2013 09:03:00 +0000 (18:03 +0900)
Change-Id: I8c15243e4af791d9af113d52a1fe3d11fd28864a
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
src/app/FApp_AppArg.cpp
src/app/FApp_AppImpl.cpp

index c35521e..0bb0123 100755 (executable)
@@ -1031,6 +1031,7 @@ _AppArg::CreateSqlDataControlArg(bundle* b, const _SqlDataControlImpl& 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<char[]> 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<char[]> pProvider(_StringConverter::CopyToCharArrayN(dc.__providerId));
        if (pProvider)
index 7b187c4..71354b5 100644 (file)
@@ -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: