From 97c6c016f4bbc26e65ca5508efe709cf9b8ce4ce Mon Sep 17 00:00:00 2001 From: Shai Almog <67850168+shai-almog@users.noreply.github.com> Date: Sat, 19 Oct 2024 11:25:18 +0300 Subject: [PATCH] Fixed a regression in multi-line edit support Fixed #3850 --- .../src/com/codename1/impl/android/InPlaceEditView.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/Ports/Android/src/com/codename1/impl/android/InPlaceEditView.java b/Ports/Android/src/com/codename1/impl/android/InPlaceEditView.java index 95cb687f16..7fd1e47165 100644 --- a/Ports/Android/src/com/codename1/impl/android/InPlaceEditView.java +++ b/Ports/Android/src/com/codename1/impl/android/InPlaceEditView.java @@ -2160,9 +2160,6 @@ public boolean onKeyDown(int keyCode, KeyEvent event) { case KeyEvent.KEYCODE_MENU: endEditing(InPlaceEditView.REASON_SYSTEM_KEY, false, true, 0); break; - case KeyEvent.KEYCODE_ENTER: - onEditorAction(EditorInfo.IME_ACTION_DONE); - break; case KeyEvent.KEYCODE_ESCAPE: endEditing(InPlaceEditView.REASON_IME_ACTION, false, true, EditorInfo.IME_ACTION_DONE, keyCode); break;