Change-Id: Id42a5586f3d03aacf1865ee99f1621d008a4684c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
candidate = reply;
if (candidate) {
candidate_strings.push_back(string(candidate));
+ g_smartreply_size++;
}
}
g_ic_smartreply = g_ic;
g_set_mime_type = FALSE;
#endif
g_ic_smartreply = -1;
+ g_smartreply_size = 0;
+ g_smartreply_reply_exist = false;
}
static void ime_app_return_key_type_set_cb(Ecore_IMF_Input_Panel_Return_Key_Type type, void *user_data)
input_smartreply_init(caller_id, sender, hint);
input_smartreply_set_notify(_input_smartreply_notify_cb, NULL);
- if (input_smartreply_is_enabled())
+ if (input_smartreply_is_enabled()) {
+ g_smartreply_size = 0;
+ g_smartreply_reply_exist = false;
+
input_smartreply_get_reply_async();
+ }
}
}