diff options
author | 2013-04-01 09:00:25 +0000 | |
---|---|---|
committer | 2013-04-01 09:00:25 +0000 | |
commit | 43341ba04298f9548e3ee6f37403eaf333dfa3bc (patch) | |
tree | 95bb790b3dd0e7cc9754d3f2512477487b84cd98 /java/src/com/android/inputmethod/dictionarypack/DictionaryProvider.java | |
parent | 065f126f1d91b8b2647cbe185a55ac8e771cb32d (diff) | |
parent | 76d5f512f99700a963aa20a02590833e37221bff (diff) | |
download | latinime-43341ba04298f9548e3ee6f37403eaf333dfa3bc.tar.gz latinime-43341ba04298f9548e3ee6f37403eaf333dfa3bc.tar.xz latinime-43341ba04298f9548e3ee6f37403eaf333dfa3bc.zip |
Merge "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: |