Disable autofill feature in email and phonenumber layout 19/225419/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 20 Feb 2020 00:34:42 +0000 (09:34 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 20 Feb 2020 01:04:34 +0000 (10:04 +0900)
autofill feature in IME has been deprecated

Change-Id: I739ffb8bdbb5f7ca15c961905d442f65f28bfc6c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/ise.cpp

index eb4e7b4..bb40c95 100644 (file)
@@ -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);