Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(923)

Unified Diff: content/public/android/java/src/org/chromium/content/browser/input/ThreadedInputConnection.java

Issue 2458773005: Untangle setComposingText() and commitText() (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/input/ReplicaInputConnection.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/input/ThreadedInputConnection.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/ThreadedInputConnection.java b/content/public/android/java/src/org/chromium/content/browser/input/ThreadedInputConnection.java
index 9926e670452081013d3aafb4e2d9d36c12f73957..f7fb2f01ea37b58cdbca61ce507367a1c9900246 100644
--- a/content/public/android/java/src/org/chromium/content/browser/input/ThreadedInputConnection.java
+++ b/content/public/android/java/src/org/chromium/content/browser/input/ThreadedInputConnection.java
@@ -350,7 +350,7 @@ public class ThreadedInputConnection extends BaseInputConnection
@Override
public void run() {
cancelCombiningAccentOnUiThread();
- mImeAdapter.sendCompositionToNative(text, newCursorPosition, text.length() > 0, 0);
+ mImeAdapter.sendCompositionToNative(text, newCursorPosition, true, 0);
}
});
notifyUserAction();
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/input/ReplicaInputConnection.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698