Skip to content
Snippets Groups Projects
Commit 219d9d52 authored by satok's avatar satok
Browse files

Flush before re-throwing exception in logOnException

Change-Id: I061738c5b1a1509015344c2c27848bac1e29d833
parent dd58fe92
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment