Add StatsUtilManager.onStartInput & onFinishInput
Bug:15657192 Change-Id: I6e976202812d1c1675bd7822c4a15686d1ec1fe9main
parent
ca93dda3fd
commit
6a6137325b
|
@ -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() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue