Clear user's input and manually picked suggestion
Change-Id: I7bbad73b87a9341440621489db7fbdb4ad81c7f6main
parent
37340b3fb4
commit
f4973b3d41
|
@ -342,6 +342,10 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang
|
|||
// TODO: Handle CharSequence instead of String
|
||||
public static void logOnClickSuggestion(String before, String after, int position) {
|
||||
if (sLogEnabled) {
|
||||
if (before.equals(after)) {
|
||||
before = "";
|
||||
after = "";
|
||||
}
|
||||
String[] strings = new String[] {before, after, String.valueOf(position)};
|
||||
sLatinImeLogger.sendLogToDropBox(ID_CLICKSUGGESTION, strings);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue