mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Flush before re-throwing exception in logOnException
Change-Id: I061738c5b1a1509015344c2c27848bac1e29d833
This commit is contained in:
parent
dd58fe92d1
commit
219d9d52e5
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user