diff --git a/renderer/native/android/src/main/java/com/tencent/mtt/hippy/views/textinput/HippyTextInputController.java b/renderer/native/android/src/main/java/com/tencent/mtt/hippy/views/textinput/HippyTextInputController.java index 95c9b431fc7..0115a556031 100644 --- a/renderer/native/android/src/main/java/com/tencent/mtt/hippy/views/textinput/HippyTextInputController.java +++ b/renderer/native/android/src/main/java/com/tencent/mtt/hippy/views/textinput/HippyTextInputController.java @@ -162,26 +162,21 @@ public void setReturnKeyType(HippyTextInput view, String returnKeyType) { break; case "next": returnKeyFlag = EditorInfo.IME_ACTION_NEXT; - // view.setSingleLine(true); break; case "none": returnKeyFlag = EditorInfo.IME_ACTION_NONE; break; case "previous": returnKeyFlag = EditorInfo.IME_ACTION_PREVIOUS; - // view.setSingleLine(true); break; case "search": returnKeyFlag = EditorInfo.IME_ACTION_SEARCH; - // view.setSingleLine(true); break; case "send": returnKeyFlag = EditorInfo.IME_ACTION_SEND; - // view.setSingleLine(true); break; case "done": returnKeyFlag = EditorInfo.IME_ACTION_DONE; - // view.setSingleLine(true); break; } }