From a864313925562a57085fbb9864430b5e1de3c096 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Thu, 14 Jun 2018 16:22:28 +0900 Subject: [PATCH] Remove card security code autofill hint Change-Id: I3b8015db7bdcdeaebdeb5060ab2fb34eb591ea33 Signed-off-by: Jihoon Kim --- ism/demos/isf_prediction_hint_efl.cpp | 1 - ism/extras/wayland_immodule/wayland_imcontext.c | 3 --- ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp | 3 --- 3 files changed, 7 deletions(-) diff --git a/ism/demos/isf_prediction_hint_efl.cpp b/ism/demos/isf_prediction_hint_efl.cpp index 52ff200..b819122 100644 --- a/ism/demos/isf_prediction_hint_efl.cpp +++ b/ism/demos/isf_prediction_hint_efl.cpp @@ -40,7 +40,6 @@ static struct _autofill_item autofill_test_itsc[] = { { N_("Phone"), N_("click to enter"), "phone", ELM_INPUT_HINT_AUTOFILL_PHONE, ELM_INPUT_PANEL_LAYOUT_PHONENUMBER }, { N_("ID"), N_("click to enter"), "id", ELM_INPUT_HINT_AUTOFILL_ID, ELM_INPUT_PANEL_LAYOUT_NORMAL }, { N_("Card Number"), N_("click to enter"), "card_number", ELM_INPUT_HINT_AUTOFILL_CREDIT_CARD_NUMBER, ELM_INPUT_PANEL_LAYOUT_NUMBERONLY }, - { N_("Card Security code"), N_("click to enter"), "card_security_code", ELM_INPUT_HINT_AUTOFILL_CREDIT_CARD_SECURITY_CODE, ELM_INPUT_PANEL_LAYOUT_NUMBERONLY }, { N_("Card Expiration date"), N_("click to enter"), "card_expiration_date", ELM_INPUT_HINT_AUTOFILL_CREDIT_CARD_EXPIRATION_DATE, ELM_INPUT_PANEL_LAYOUT_NUMBERONLY }, { N_("Card Expiration day"), N_("click to enter"), "card_expiration_day", ELM_INPUT_HINT_AUTOFILL_CREDIT_CARD_EXPIRATION_DAY, ELM_INPUT_PANEL_LAYOUT_NUMBERONLY }, { N_("Card Expiration month"), N_("click to enter"), "card_expiration_month", ELM_INPUT_HINT_AUTOFILL_CREDIT_CARD_EXPIRATION_MONTH, ELM_INPUT_PANEL_LAYOUT_NUMBERONLY }, diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c index 318224c..076c0cd 100644 --- a/ism/extras/wayland_immodule/wayland_imcontext.c +++ b/ism/extras/wayland_immodule/wayland_imcontext.c @@ -3594,9 +3594,6 @@ wayland_im_context_input_hint_set(Ecore_IMF_Context *ctx, case ECORE_IMF_INPUT_HINT_AUTOFILL_CREDIT_CARD_NUMBER: imcontext->content_hint |= WL_TEXT_INPUT_CONTENT_HINT_AUTOFILL_CREDIT_CARD_NUMBER; break; - case ECORE_IMF_INPUT_HINT_AUTOFILL_CREDIT_CARD_SECURITY_CODE: - imcontext->content_hint |= WL_TEXT_INPUT_CONTENT_HINT_AUTOFILL_CREDIT_CARD_SECURITY_CODE; - break; case ECORE_IMF_INPUT_HINT_AUTOFILL_EMAIL_ADDRESS: imcontext->content_hint |= WL_TEXT_INPUT_CONTENT_HINT_AUTOFILL_EMAIL_ADDRESS; break; diff --git a/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp b/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp index ab76986..ff470b4 100644 --- a/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp +++ b/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp @@ -2305,9 +2305,6 @@ Ecore_IMF_Input_Hints wsc_context_input_hint_get (WSCContextISF *wsc_ctx) case WL_TEXT_INPUT_CONTENT_HINT_AUTOFILL_CREDIT_CARD_NUMBER: input_hint |= ECORE_IMF_INPUT_HINT_AUTOFILL_CREDIT_CARD_NUMBER; break; - case WL_TEXT_INPUT_CONTENT_HINT_AUTOFILL_CREDIT_CARD_SECURITY_CODE: - input_hint |= ECORE_IMF_INPUT_HINT_AUTOFILL_CREDIT_CARD_SECURITY_CODE; - break; case WL_TEXT_INPUT_CONTENT_HINT_AUTOFILL_EMAIL_ADDRESS: input_hint |= ECORE_IMF_INPUT_HINT_AUTOFILL_EMAIL_ADDRESS; break; -- 2.7.4