}
result
-_Aul::SendResult(bundle* b, appsvc_result_val res, bool isSubMode)
+_Aul::SendResult(bundle* b, appsvc_result_val res, bool isSubMode, bool isServiceApp)
{
// to skip error handling, of appsvc_send_result, use aul_send_service_result() directly.
//int ret = appsvc_send_result(b, res);
_AppArg::UpdateSubMode(b);
}
+ if (isServiceApp)
+ {
+ _AppArg::UpdateServiceApp(b);
+ }
+
const int aul_ret = aul_send_service_result(b);
result r = GetConvertedResult(aul_ret, "SendResult");
String temp;
// [INFO] ugly code for submode callee
appId.SubString(11, temp);
- if (temp == L"_AppControl")
+ if (temp == String(SUBMODE_NAME))
{
String id;
appId.SubString(0, 10, id);