The appid of 3rd party IME will be defined in run ().
Change-Id: I600c12393426e381cb3cf2a802aa1045c5fb1530
m_core_ui.init();
m_connection.init();
- if (m_uuid) {
- free(m_uuid);
- }
+ LOGD ("uuid : '%s', display : '%s'\n", uuid, display);
- m_uuid = strdup(uuid);
+ if (uuid && strlen(uuid) > 0) {
+ if (m_uuid) {
+ free(m_uuid);
+ }
- if (m_display) {
- free(m_display);
+ m_uuid = strdup(uuid);
}
- m_display = strdup(display);
+ if (display) {
+ if (m_display) {
+ free(m_display);
+ }
+
+ m_display = strdup(display);
+ }
if (m_event_callback) {
m_event_callback->on_run(0, NULL);
void CSCLCoreImpl::get_selection_text(sclchar **text)
{
m_connection.get_selection_text(text);
-}
\ No newline at end of file
+}