mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Fix empty emoji search index.
This commit is contained in:
committed by
Clark Chen
parent
2c74ac8bfa
commit
648506fe04
@@ -123,6 +123,14 @@ public class EmojiValues extends SignalStoreValues {
|
||||
return getInteger(SEARCH_VERSION, 0);
|
||||
}
|
||||
|
||||
public void clearSearchIndexMetadata() {
|
||||
getStore().beginWrite()
|
||||
.remove(SEARCH_VERSION)
|
||||
.remove(SEARCH_LANGUAGE)
|
||||
.remove(LAST_SEARCH_CHECK)
|
||||
.apply();
|
||||
}
|
||||
|
||||
public @Nullable String getSearchLanguage() {
|
||||
return getString(SEARCH_LANGUAGE, null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user