mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Add method to clear user history dictionary for testing
This change should be checked in together with I19cd689157. Bug: 12179576 Change-Id: I5cc9f52a37ad6623809a14575f3f4b1cd18725c3
This commit is contained in:
parent
005d2454c9
commit
a454a7b85c
@ -505,6 +505,14 @@ public class DictionaryFacilitatorForSuggest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@UsedForTesting
|
||||||
|
public void clearUserHistoryDictionary() {
|
||||||
|
if (mUserHistoryDictionary == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
mUserHistoryDictionary.clearAndFlushDictionary();
|
||||||
|
}
|
||||||
|
|
||||||
// This method gets called only when the IME receives a notification to remove the
|
// This method gets called only when the IME receives a notification to remove the
|
||||||
// personalization dictionary.
|
// personalization dictionary.
|
||||||
public void clearPersonalizationDictionary() {
|
public void clearPersonalizationDictionary() {
|
||||||
|
Loading…
Reference in New Issue
Block a user