| Index: content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java b/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java
|
| index 9352f378f2e0156cebce58fbaf2cdd9686576d5f..ecb36b19468ca87e3da8d7038804b24172ebc715 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java
|
| @@ -19,6 +19,8 @@ import android.view.inputmethod.ExtractedTextRequest;
|
|
|
| import com.google.common.annotations.VisibleForTesting;
|
|
|
| +import org.chromium.content.browser.ContentView;
|
| +
|
| /**
|
| * InputConnection is created by ContentView.onCreateInputConnection.
|
| * It then adapts android's IME to chrome's RenderWidgetHostView using the
|
| @@ -338,6 +340,8 @@ public class AdapterInputConnection extends BaseInputConnection {
|
| // If this is a key-up, and backspace/del or if the key has a character representation,
|
| // need to update the underlying Editable (i.e. the local representation of the text
|
| // being edited).
|
| + ((ContentView)mInternalView).
|
| + getInsertionHandleController().hideAndDisallowAutomaticShowing();
|
| if (event.getAction() == KeyEvent.ACTION_UP) {
|
| if (event.getKeyCode() == KeyEvent.KEYCODE_DEL) {
|
| deleteSurroundingText(1, 0);
|
|
|