diff options
author | 2012-05-09 16:04:26 -0700 | |
---|---|---|
committer | 2012-05-14 09:55:26 -0700 | |
commit | aec44d50a7534d8704a7006b4f90f5e8040a931b (patch) | |
tree | e7e378738239c8b9a39ffd633a9fe5985705284a /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 2b49579961198bc9416a8b02567362ca460303a7 (diff) | |
download | latinime-aec44d50a7534d8704a7006b4f90f5e8040a931b.tar.gz latinime-aec44d50a7534d8704a7006b4f90f5e8040a931b.tar.xz latinime-aec44d50a7534d8704a7006b4f90f5e8040a931b.zip |
include text context in researchLogger
when logging LatinIME.onUpdateSelection(), now include the current word and
preceding word. no escaping of the word is performed; this is temporary
until the output format is cleaned up.
also fix EditingUtils.getWordRangeAtCursor to support supplementary
UTF-16 characters.
Bug: 6188932
Change-Id: If4612a2627537d5d8bb2f9585a3ad1b4e56c2e26
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index e8211aecf..b7385ed21 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -755,7 +755,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen ResearchLogger.latinIME_onUpdateSelection(mLastSelectionStart, mLastSelectionEnd, oldSelStart, oldSelEnd, newSelStart, newSelEnd, composingSpanStart, composingSpanEnd, mExpectingUpdateSelection, - expectingUpdateSelectionFromLogger); + expectingUpdateSelectionFromLogger, getCurrentInputConnection()); if (expectingUpdateSelectionFromLogger) { return; } |