found = true;
found_base_info = &entry->base_info;
- if (update_flag == ALARM_UPDATE_FLAG_TIME ||
- ALARM_UPDATE_FLAG_WEEK) {
+ if ((update_flag == ALARM_UPDATE_FLAG_TIME) ||
+ (update_flag == ALARM_UPDATE_FLAG_WEEK)) {
if (!__check_bundle_for_update(entry->bundle,
entry->uid)) {
*error_code = ERR_ALARM_NOT_PERMITTED_APP;
update_flag, error_code);
if (!__alarm_info) {
LOGE("[alarm-server]: requested alarm_id "
- "(%d) does not exist. so this value is invalid id.", alarm_id);
+ "(%d) is not proper. so this value is invalid id.", alarm_id);
return false;
}