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

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

Issue 2681833006: [Android] Restart input only once on focus change (Closed)
Patch Set: fixed nit Created 3 years, 10 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 | « no previous file | content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java » ('j') | 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/ContentViewCore.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
index f8cbb86c75550ef4aead4cc06ee96a843421bfde..d0bcd486ece4adf008e0e52c3139b536ddb9d1e6 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
@@ -1897,10 +1897,9 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Displa
boolean focusedNodeIsPassword = (textInputType == TextInputType.PASSWORD);
mImeAdapter.attach(nativeImeAdapterAndroid);
- mImeAdapter.updateKeyboardVisibility(
- textInputType, textInputFlags, textInputMode, showImeIfNeeded);
- mImeAdapter.updateState(text, selectionStart, selectionEnd, compositionStart,
- compositionEnd, replyToRequest);
+ mImeAdapter.updateState(textInputType, textInputFlags, textInputMode, showImeIfNeeded,
+ text, selectionStart, selectionEnd, compositionStart, compositionEnd,
+ replyToRequest);
boolean editableToggled = (focusedNodeEditable != isFocusedNodeEditable());
mSelectionPopupController.updateSelectionState(focusedNodeEditable,
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698