From 219d9d52e54571dbc974083d6a57e405fd94153b Mon Sep 17 00:00:00 2001 From: satok Date: Thu, 3 Jun 2010 11:48:33 +0900 Subject: [PATCH] Flush before re-throwing exception in logOnException Change-Id: I061738c5b1a1509015344c2c27848bac1e29d833 --- java/src/com/android/inputmethod/latin/LatinImeLogger.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/src/com/android/inputmethod/latin/LatinImeLogger.java b/java/src/com/android/inputmethod/latin/LatinImeLogger.java index 53b15dd09..7ad0ec63b 100644 --- a/java/src/com/android/inputmethod/latin/LatinImeLogger.java +++ b/java/src/com/android/inputmethod/latin/LatinImeLogger.java @@ -510,6 +510,7 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang synchronized (LatinImeLogger.class) { sLastAutoSuggestBefore = ""; sLastAutoSuggestAfter = ""; + sLastAutoSuggestSeparator = ""; } } } @@ -545,6 +546,7 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang if (SUPPRESS_EXCEPTION) { sLatinImeLogger.commitInternalAndStopSelf(); } else { + sLatinImeLogger.commitInternal(); throw e; } }