Flush before re-throwing exception in logOnException

Change-Id: I061738c5b1a1509015344c2c27848bac1e29d833
main
satok 2010-06-03 11:48:33 +09:00
parent dd58fe92d1
commit 219d9d52e5
1 changed files with 2 additions and 0 deletions

View File

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