_DEBUG_INFO("--------------------------------------------------------------------------------------------");
/* ddf mo db reset */
ret = clean_dm_mo();
+ _DEBUG_INFO("clean_dm_mo [%d]", ret);
if (ret != DM_OK)
goto error;
/* engine status db reset */
//ret = DB_Delete_Table();
ret = DB_Reset_Table();
+ _DEBUG_INFO("DB_Reset_Table [%d]", ret);
if (ret != DM_OK)
goto error;
engine_status *status = NULL;
if (IsExist_Engine_id(FUMO_SERVICE_ENGINE) != 0) {
- printf("engine id VALUE : %d ", FUMO_SERVICE_ENGINE);
_DEBUG_INFO("engine id VALUE : %d ", FUMO_SERVICE_ENGINE);
ret = Get_Engine_Status(FUMO_SERVICE_ENGINE, &status);
}
if (IsExist_Engine_id(LAWMO_SERVICE_ENGINE) != 0) {
- printf("engine id VALUE : %d ", LAWMO_SERVICE_ENGINE);
_DEBUG_INFO("engine id VALUE : %d ", LAWMO_SERVICE_ENGINE);
ret = Get_Engine_Status(LAWMO_SERVICE_ENGINE, &status);
}
break;
*/
+ case INTERVAL_30MINUTES:
+ {
+ /* 30 minutes */
+ alarm_info->repeat_type = REPEAT;
+ alarm_info->repeat_value = ((1 * 30) * 60);
+ }
+ break;
case INTERVAL_1HOUR:
{
/* 1 hour */
* 1 : dont service
* 2 : ?
*/
- if (vconf_get_int(VCONFKEY_TELEPHONY_CALL_STATE, call_state) != 0) {
+ if (vconf_get_int(VCONFKEY_CALL_STATE, call_state) != 0) {
*call_state = -1;
_DEBUG_INFO("end, call state : %d", *call_state);
_EXTERN_FUNC_EXIT;