Merge "Add StatsUtilManager.onStartInput & onFinishInput"

This commit is contained in:
Jatin Matani 2014-09-22 16:15:13 +00:00 committed by Android (Google) Code Review
commit e2e48eb9b3
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 onStartInputView() {
}
public void onFinishInputView() {
}
public void onDestroy() {
}
}

View file

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