parent
f6ecc28767
commit
00dd9e180a
|
@ -284,10 +284,8 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
public static void logOnAutoSuggestion(String before, String after) {
|
public static void logOnAutoSuggestion(String before, String after) {
|
||||||
if (sLogEnabled) {
|
if (sLogEnabled) {
|
||||||
String[] strings = new String[] {before, after};
|
String[] strings = new String[] {before, after};
|
||||||
synchronized (sLastAutoSuggestBefore) {
|
synchronized (LatinImeLogger.class) {
|
||||||
sLastAutoSuggestBefore = before;
|
sLastAutoSuggestBefore = before;
|
||||||
}
|
|
||||||
synchronized (sLastAutoSuggestAfter) {
|
|
||||||
sLastAutoSuggestAfter = after;
|
sLastAutoSuggestAfter = after;
|
||||||
}
|
}
|
||||||
sLatinImeLogger.sendLogToDropBox(ID_AUTOSUGGESTIONCANCELED, strings);
|
sLatinImeLogger.sendLogToDropBox(ID_AUTOSUGGESTIONCANCELED, strings);
|
||||||
|
|
Loading…
Reference in New Issue