am ce8b1391: Merge "[Rlog5] ResearchLogging change from onFinishInput to onFinishInputView"

* commit 'ce8b139124b703ef4409520a721b77a6879cc82c':
  [Rlog5] ResearchLogging change from onFinishInput to onFinishInputView
main
Kurt Partridge 2012-12-18 11:35:17 -08:00 committed by Android Git Automerger
commit 81d74a998a
2 changed files with 4 additions and 5 deletions

View File

@ -820,10 +820,6 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
super.onFinishInput();
LatinImeLogger.commit();
if (ProductionFlag.IS_EXPERIMENTAL) {
ResearchLogger.getInstance().latinIME_onFinishInputInternal();
}
final MainKeyboardView mainKeyboardView = mKeyboardSwitcher.getMainKeyboardView();
if (mainKeyboardView != null) {
mainKeyboardView.closing();
@ -840,6 +836,9 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
// Remove pending messages related to update suggestions
mHandler.cancelUpdateSuggestionStrip();
resetComposingState(true /* alsoResetLastComposedWord */);
if (ProductionFlag.IS_EXPERIMENTAL) {
ResearchLogger.getInstance().latinIME_onFinishInputViewInternal();
}
}
@Override

View File

@ -824,7 +824,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
}
}
public void latinIME_onFinishInputInternal() {
public void latinIME_onFinishInputViewInternal() {
stop();
}