Change-Id: Ic438704af64e8ebcecba13dbc0f3e72b14ac6f4f
main
satok 2010-05-12 11:54:28 +09:00
parent f6ecc28767
commit 00dd9e180a
1 changed files with 1 additions and 3 deletions

View File

@ -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);