App_Data* app_data;
Elm_Object_Item *first;
- Elm_Object_Item *menu;
unsigned int i = 0;
unsigned int len = 0;
/* Move to smartreply */
first = elm_genlist_first_item_get(app_data->genlist);
- menu = elm_genlist_item_next_get(first);
+ elm_genlist_item_next_get(first);
if (input_smartreply_is_enabled() == false)
return item_size;
itc->func.del = NULL;
for (i = 0; i < len; i++) {
- char *reply = "hello";
+ char *reply = (char *)"hello";
unsigned int j;
bool matched;
reply = input_smartreply_get_nth_item(i, &type);
if (reply == NULL)
continue;
- PRINTFUNC(DLOG_DEBUG, "SmartReply = [%d]%s", i, reply);
+ SECURE_LOGD("SmartReply = [%d]%s", i, reply);
for (j = 0; j < template_list.size(); j++) {
const char *template_str;
if (mime_type)
free(mime_type);
goto ACTIVATE;
- } else if(!strncmp(mime_type, "audio/", strlen("audio/"))) {
+ } else if (!strncmp(mime_type, "audio/", strlen("audio/"))) {
app_data->mime_type = MIME_TYPE_AUDIO;
app_data->app_type = APP_TYPE_STT;
_stt_clicked_cb((void *)app_data, NULL, NULL);
if (mime_type)
free(mime_type);
goto ACTIVATE;
- } else if(!strncmp(mime_type, "text/", strlen("text/"))) {
+ } else if (!strncmp(mime_type, "text/", strlen("text/"))) {
app_data->mime_type = MIME_TYPE_TEXT;
}
}
void _app_resume(void* user_data)
{
PRINTFUNC(DLOG_DEBUG, "");
+ resume_voice();
}
void _app_terminate(void* user_data)