From 08a0a4bd615ef056077b77a4a2f63118794ea311 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Thu, 20 Feb 2020 09:34:42 +0900 Subject: [PATCH] Disable autofill feature in email and phonenumber layout autofill feature in IME has been deprecated Change-Id: I739ffb8bdbb5f7ca15c961905d442f65f28bfc6c Signed-off-by: Jihoon Kim --- src/ise.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/ise.cpp b/src/ise.cpp index eb4e7b4..bb40c95 100644 --- a/src/ise.cpp +++ b/src/ise.cpp @@ -2538,19 +2538,6 @@ static void ime_app_show_cb(int ic, ime_context_h ime_ctx, void *user_data) LOGD("input hint : %x, autofill hint : %x\n", iseContext.input_hint, g_autofill_hint); - if (g_autofill_hint == 0) { - switch (iseContext.layout) { - case ECORE_IMF_INPUT_PANEL_LAYOUT_EMAIL: - g_autofill_hint = ECORE_IMF_INPUT_HINT_AUTOFILL_EMAIL_ADDRESS; - break; - case ECORE_IMF_INPUT_PANEL_LAYOUT_PHONENUMBER: - g_autofill_hint = ECORE_IMF_INPUT_HINT_AUTOFILL_PHONE; - break; - default: - break; - } - } - // show autofill data show_autofill_data((Ecore_IMF_Input_Hints)g_autofill_hint); -- 2.7.4