return "ttsdnoti";
} else if (TTSD_MODE_SCREEN_READER == g_tts_mode) {
return "ttsdsr";
+ } else if (TTSD_MODE_INTERRUPT == g_tts_mode) {
+ return "ttsdinterrupt";
} else {
return "ttsd";
}
mode = TTSD_MODE_NOTIFICATION;
} else if (!strcmp("sr", val)) {
mode = TTSD_MODE_SCREEN_READER;
+ } else if (!strcmp("interrupt", val)) {
+ mode = TTSD_MODE_INTERRUPT;
} else {
SLOG(LOG_WARN, tts_tag(), "[WARNING] mode (%s)", val);
}
SLOG(LOG_WARN, tts_tag(), "[WARNING] Fail to initialize network");
}
- SLOG(LOG_DEBUG, tts_tag(), "====");
- SLOG(LOG_DEBUG, tts_tag(), "");
+ SLOG(LOG_DEBUG, tts_tag(), "@@@");
return TTSE_ERROR_NONE;
}
{
int ret;
- if (NULL == msg) {
- SLOG(LOG_ERROR, tts_tag(), "[ERROR] Input parameter is null");
- return TTSE_ERROR_INVALID_PARAMETER;
- }
-
ret = ttsd_send_error(error, msg);
if (0 != ret) {
}
return ret;
-}
\ No newline at end of file
+}