Merge "Record onStartInputView"
This commit is contained in:
commit
e35e13fc7d
2 changed files with 9 additions and 4 deletions
|
@ -722,6 +722,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
: String.format("inputType=0x%08x imeOptions=0x%08x",
|
: String.format("inputType=0x%08x imeOptions=0x%08x",
|
||||||
editorInfo.inputType, editorInfo.imeOptions)));
|
editorInfo.inputType, editorInfo.imeOptions)));
|
||||||
}
|
}
|
||||||
|
LatinImeLogger.onStartInputView(editorInfo);
|
||||||
// In landscape mode, this method gets called without the input view being created.
|
// In landscape mode, this method gets called without the input view being created.
|
||||||
if (inputView == null) {
|
if (inputView == null) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -16,11 +16,12 @@
|
||||||
|
|
||||||
package com.android.inputmethod.latin;
|
package com.android.inputmethod.latin;
|
||||||
|
|
||||||
import com.android.inputmethod.keyboard.Keyboard;
|
|
||||||
import com.android.inputmethod.latin.Dictionary.DataType;
|
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
|
import android.view.inputmethod.EditorInfo;
|
||||||
|
|
||||||
|
import com.android.inputmethod.keyboard.Keyboard;
|
||||||
|
import com.android.inputmethod.latin.Dictionary.DataType;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -44,7 +45,7 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
|
|
||||||
public static void logOnManualSuggestion(
|
public static void logOnManualSuggestion(
|
||||||
String before, String after, int position, List<CharSequence> suggestions) {
|
String before, String after, int position, List<CharSequence> suggestions) {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void logOnAutoCorrection(String before, String after, int separatorCode) {
|
public static void logOnAutoCorrection(String before, String after, int separatorCode) {
|
||||||
}
|
}
|
||||||
|
@ -67,6 +68,9 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
public static void logOnWarning(String warning) {
|
public static void logOnWarning(String warning) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void onStartInputView(EditorInfo editorInfo) {
|
||||||
|
}
|
||||||
|
|
||||||
public static void onStartSuggestion(CharSequence previousWords) {
|
public static void onStartSuggestion(CharSequence previousWords) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue