Flush before re-throwing exception in logOnException
Change-Id: I061738c5b1a1509015344c2c27848bac1e29d833
This commit is contained in:
parent
dd58fe92d1
commit
219d9d52e5
1 changed files with 2 additions and 0 deletions
|
@ -510,6 +510,7 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
synchronized (LatinImeLogger.class) {
|
synchronized (LatinImeLogger.class) {
|
||||||
sLastAutoSuggestBefore = "";
|
sLastAutoSuggestBefore = "";
|
||||||
sLastAutoSuggestAfter = "";
|
sLastAutoSuggestAfter = "";
|
||||||
|
sLastAutoSuggestSeparator = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -545,6 +546,7 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
if (SUPPRESS_EXCEPTION) {
|
if (SUPPRESS_EXCEPTION) {
|
||||||
sLatinImeLogger.commitInternalAndStopSelf();
|
sLatinImeLogger.commitInternalAndStopSelf();
|
||||||
} else {
|
} else {
|
||||||
|
sLatinImeLogger.commitInternal();
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue