[PLM-161230-02655] vcalendar parsing is failed with TRIGGER:PT0S
[Cause] PT0S returns tick 0 without assigning unit.
[Solution] Set unit as MINUTE(default)
Change-Id: Ibb9f2214f8afad355c133e70ddf3ccfad003679e
ret = cal_record_set_int(alarm, _calendar_alarm.tick_unit, CALENDAR_ALARM_TIME_UNIT_SPECIFIC);
WARN_IF(CALENDAR_ERROR_NONE != ret, "cal_record_set_int() Fail(%d)", ret);
} else {
- int unit = 0;
+ int unit = CALENDAR_ALARM_TIME_UNIT_MINUTE;
int tick = 0;
__decode_duration(t[i], strlen(t[i]), &tick, &unit);
if (CALENDAR_ALARM_TIME_UNIT_SPECIFIC == unit || 0 < tick) {