const AppId& provider = _AppArg::GetCalleeAppId(pBundle);
const String& operation = pInfo->operationId;
- const bool isSubMode = _AppArg::IsSubMode(pBundle);
+ int property = 0;
- _AppControlManager::GetInstance()->FinishAppControl(requestCode, res, provider, operation, pResult, (isSubMode) ? _APPCONTROL_PROPERTY_SUBMODE : 0);
+ if (_AppArg::IsRaiseMode(pBundle))
+ {
+ property |= _APPCONTROL_PROPERTY_RAISE_MODE;
+ }
+
+ _AppControlManager::GetInstance()->FinishAppControl(requestCode, res, provider, operation, pResult, property);
pThis->__requestManager.RemoveItem(requestCode);
SysLog(NID_APP, "Request %d is removed from the list successfully.", requestCode);
pThis->__requestManager.RemoveItem(requestCode);
- const bool isSubMode = _AppArg::IsSubMode(pBundle);
- _AppControlManager::GetInstance()->FinishAppControl(requestCode, res, L"", L"", pResult, (isSubMode) ? _APPCONTROL_PROPERTY_SUBMODE : 0);
+ int property = 0;
+ const bool isRaiseMode = _AppArg::IsRaiseMode(pBundle);
+
+ if (isRaiseMode)
+ {
+ property |= _APPCONTROL_PROPERTY_RAISE_MODE;
+ }
+
+ _AppControlManager::GetInstance()->FinishAppControl(requestCode, res, L"", L"", pResult, property);
SysLog(NID_APP, "Request %d is removed from the list successfully.", requestCode);
}