am e2e48eb9: Merge "Add StatsUtilManager.onStartInput & onFinishInput"

* commit 'e2e48eb9b341f4a0f62443cf031009b895c881e4':
  Add StatsUtilManager.onStartInput & onFinishInput
main
Jatin Matani 2014-09-22 16:21:48 +00:00 committed by Android Git Automerger
commit 602de33b97
2 changed files with 8 additions and 0 deletions

View File

@ -38,6 +38,12 @@ public class StatsUtilsManager {
public void onLoadSettings(final SettingsValues settingsValues) { public void onLoadSettings(final SettingsValues settingsValues) {
} }
public void onStartInputView() {
}
public void onFinishInputView() {
}
public void onDestroy() { public void onDestroy() {
} }
} }

View File

@ -793,12 +793,14 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
@Override @Override
public void onStartInputView(final EditorInfo editorInfo, final boolean restarting) { public void onStartInputView(final EditorInfo editorInfo, final boolean restarting) {
mHandler.onStartInputView(editorInfo, restarting); mHandler.onStartInputView(editorInfo, restarting);
mStatsUtilsManager.onStartInputView();
} }
@Override @Override
public void onFinishInputView(final boolean finishingInput) { public void onFinishInputView(final boolean finishingInput) {
StatsUtils.onFinishInputView(); StatsUtils.onFinishInputView();
mHandler.onFinishInputView(finishingInput); mHandler.onFinishInputView(finishingInput);
mStatsUtilsManager.onFinishInputView();
} }
@Override @Override