Change-Id: I536aaf31f0739d59893d93f0fa92a3aa2b88e618
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
static void show_cbhm()
{
#ifdef HAVE_CBHM
- int cbhm_ret = cbhm_show(cbhm_handle);
- if (cbhm_ret != CBHM_ERROR_NONE)
- LOGW("cbhm show error : %d\n", cbhm_ret);
+ int ret;
+ ret = cbhm_selection_type_set(cbhm_handle, CBHM_SEL_TYPE_TEXT);
+ if (ret != CBHM_ERROR_NONE)
+ LOGW("Failed to set selection type in cbhm. error : %d\n", ret);
+
+ ret = cbhm_show(cbhm_handle);
+ if (ret != CBHM_ERROR_NONE)
+ LOGW("cbhm show error : %d\n", ret);
else
LOGD("Show cbhm\n");
#endif