diff options
author | 2013-03-26 19:22:59 +0000 | |
---|---|---|
committer | 2013-03-26 19:23:00 +0000 | |
commit | ef103e1f2e0a94e9445dd9b55516dcf59b05ee2f (patch) | |
tree | 3e0aa803eaf2f66d30a42870a9f7319fe8a036c2 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 22384b57bdfee87368417ecc2eb7728fd6f4dd2e (diff) | |
parent | 87bc3a4a62b28f9c64ced813a9af531a563b6cd9 (diff) | |
download | latinime-ef103e1f2e0a94e9445dd9b55516dcf59b05ee2f.tar.gz latinime-ef103e1f2e0a94e9445dd9b55516dcf59b05ee2f.tar.xz latinime-ef103e1f2e0a94e9445dd9b55516dcf59b05ee2f.zip |
Merge "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()); } } |