/**
* @brief Definition for the notification message: The status information will be updated.
* @details Input: arg1(int) The status.\n
+ * Input: arg2(bool) If flag is true, the status is updated forcedly.\n (Since Tizen 9.0)
* Input: arg3(amd_app_status_h) The app status handle.\n
* @since_tizen 5.5
*
int AppStatusManager::Update(const AppStatusPtr& app_status, int status,
bool force, bool update_group_info) {
_D("pid: %d, status: %d", app_status->GetPID(), app_status->GetStatus());
- _noti_send(AMD_NOTI_MSG_APP_STATUS_UPDATE_STATUS_START, status, 0,
+ _noti_send(AMD_NOTI_MSG_APP_STATUS_UPDATE_STATUS_START, status, force,
app_status.get(), nullptr);
if (app_status->GetStatus() == STATUS_DYING) {
_E("%s is STATUS_DYING", app_status->GetAppID().c_str());