punc_pos++;
}
SclNotiPopupOpeningDesc *openingDesc = (SclNotiPopupOpeningDesc *)etc_info;
- if (0 == strcmp(openingDesc->input_mode, "CM_POPUP")) {
- if (ise_is_emoticons_disabled() && g_ui)
+ if (g_ui && 0 == strcmp(openingDesc->input_mode, "CM_POPUP")) {
+ if (ise_is_emoticons_disabled())
g_ui->enable_button("EMOTICON_KEY", false);
else
g_ui->enable_button("EMOTICON_KEY", true);
const int BUF_LEN = 256;
char buf[BUF_LEN] = {0};
+ if (!g_ui) return;
+
LOGD("return key type : %d\n", type);
switch (type)
{
void ise_set_return_key_disable(unsigned int disabled)
{
LOGD("enable : %d\n", !disabled);
- g_ui->enable_button("Enter", !disabled);
+ if (g_ui)
+ g_ui->enable_button("Enter", !disabled);
}
void ise_get_language_locale(char **locale)