diff --git a/app/internal/wm/GioView.java b/app/internal/wm/GioView.java index 80762529..d42d44b7 100644 --- a/app/internal/wm/GioView.java +++ b/app/internal/wm/GioView.java @@ -266,7 +266,9 @@ public final class GioView extends SurfaceView implements Choreographer.FrameCal } @Override public InputConnection onCreateInputConnection(EditorInfo editor) { - editor.inputType = this.keyboardHint; + // The TYPE_TEXT_FLAG_NO_SUGGESTIONS and TYPE_TEXT_VARIATION_VISIBLE_PASSWORD are used to fix the + // Samsung keyboard compatibility, forcing to disable the suggests/auto-complete. gio#116. + editor.inputType = InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD | this.keyboardHint; editor.imeOptions = EditorInfo.IME_FLAG_NO_FULLSCREEN | EditorInfo.IME_FLAG_NO_EXTRACT_UI; return new InputConnection(this); }