diff options
author | 2013-03-26 12:24:26 -0700 | |
---|---|---|
committer | 2013-03-26 12:24:26 -0700 | |
commit | bf62dc036f1e71751c8713ff13e686bbf635d6c3 (patch) | |
tree | 3e0aa803eaf2f66d30a42870a9f7319fe8a036c2 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 577f08a3d76343f67f6f68c4f8198557e73939dd (diff) | |
parent | ef103e1f2e0a94e9445dd9b55516dcf59b05ee2f (diff) | |
download | latinime-bf62dc036f1e71751c8713ff13e686bbf635d6c3.tar.gz latinime-bf62dc036f1e71751c8713ff13e686bbf635d6c3.tar.xz latinime-bf62dc036f1e71751c8713ff13e686bbf635d6c3.zip |
am ef103e1f: Merge "Close ResearchLogger upon onFinishInputView"
* commit 'ef103e1f2e0a94e9445dd9b55516dcf59b05ee2f':
Close ResearchLogger upon onFinishInputView
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 7bd09811c..92b68dcd7 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -803,10 +803,6 @@ public final class LatinIME extends InputMethodService implements KeyboardAction @Override public void onWindowHidden() { - if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) { - ResearchLogger.latinIME_onWindowHidden(mLastSelectionStart, mLastSelectionEnd, - getCurrentInputConnection()); - } super.onWindowHidden(); final MainKeyboardView mainKeyboardView = mKeyboardSwitcher.getMainKeyboardView(); if (mainKeyboardView != null) { @@ -834,8 +830,10 @@ public final class LatinIME extends InputMethodService implements KeyboardAction // Remove pending messages related to update suggestions mHandler.cancelUpdateSuggestionStrip(); resetComposingState(true /* alsoResetLastComposedWord */); + // Notify ResearchLogger if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) { - ResearchLogger.getInstance().latinIME_onFinishInputViewInternal(); + ResearchLogger.latinIME_onFinishInputViewInternal(finishingInput, mLastSelectionStart, + mLastSelectionEnd, getCurrentInputConnection()); } } |