Add StatsUtilManager.onStartInput & onFinishInput

Bug:15657192
Change-Id: I6e976202812d1c1675bd7822c4a15686d1ec1fe9
main
Jatin Matani 2014-09-15 11:48:58 -07:00
parent ca93dda3fd
commit 6a6137325b
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