diff options
author | 2013-04-01 02:01:48 -0700 | |
---|---|---|
committer | 2013-04-01 02:01:48 -0700 | |
commit | e40d5633659a401e1357e1c530238ed74cc158f6 (patch) | |
tree | 95bb790b3dd0e7cc9754d3f2512477487b84cd98 /java/src/com/android/inputmethod/dictionarypack/DictionaryProvider.java | |
parent | 151e4e182c86a2b7aea534bda777e9e9aafa549b (diff) | |
parent | 43341ba04298f9548e3ee6f37403eaf333dfa3bc (diff) | |
download | latinime-e40d5633659a401e1357e1c530238ed74cc158f6.tar.gz latinime-e40d5633659a401e1357e1c530238ed74cc158f6.tar.xz latinime-e40d5633659a401e1357e1c530238ed74cc158f6.zip |
am 43341ba0: Merge "Ask the client to make itself known when it\'s not"
* commit '43341ba04298f9548e3ee6f37403eaf333dfa3bc':
Ask the client to make itself known when it's not
Diffstat (limited to 'java/src/com/android/inputmethod/dictionarypack/DictionaryProvider.java')
-rw-r--r-- | java/src/com/android/inputmethod/dictionarypack/DictionaryProvider.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/dictionarypack/DictionaryProvider.java b/java/src/com/android/inputmethod/dictionarypack/DictionaryProvider.java index 77b3b8e2e..f8d1c4fc9 100644 --- a/java/src/com/android/inputmethod/dictionarypack/DictionaryProvider.java +++ b/java/src/com/android/inputmethod/dictionarypack/DictionaryProvider.java @@ -509,6 +509,11 @@ public final class DictionaryProvider extends ContentProvider { } catch (final BadFormatException e) { Log.w(TAG, "Not enough information to insert this dictionary " + values, e); } + // We just received new information about the list of dictionary for this client. + // For all intents and purposes, this is new metadata, so we should publish it + // so that any listeners (like the Settings interface for example) can update + // themselves. + UpdateHandler.publishUpdateMetadataCompleted(getContext(), true); break; case DICTIONARY_V1_WHOLE_LIST: case DICTIONARY_V1_DICT_INFO: |