{
SysTryReturn(NID_APP, __pNotiImpl != null, -1, E_SYSTEM, "[E_SYSTEM] Notification interface error.");
- return __pNotiImpl->GetBadgeNumber();
+ int res = __pNotiImpl->GetBadgeNumber();
+ if (GetLastResult() == E_OPERATION_FAILED)
+ {
+ SetLastResult(E_SUCCESS);
+ return -1;
+ }
+ return res;
}
SetLastResult(E_OBJ_NOT_FOUND);
}
+ if (GetLastResult() == E_OPERATION_FAILED)
+ {
+ SetLastResult(E_SUCCESS);
+ return -1;
+ }
return ret;
}
{
SysTryReturnResult(NID_APP, __pNotiImpl != null, E_SYSTEM, "Notification interface error.");
- return __pNotiImpl->NotifyOngoingActivity(messageText, String(L""));
+ return __pNotiImpl->NotifyOngoingActivity(messageText);
}