diff options
author | 2013-04-03 19:27:20 -0700 | |
---|---|---|
committer | 2013-04-03 19:27:20 -0700 | |
commit | 873c20ba06f8d1067be8cde3b698e0ece9cfd98f (patch) | |
tree | 235d779441e83b53e93ddcb8d35ab1f1cb862697 /java/src/com/android/inputmethod/dictionarypack/DictionaryProvider.java | |
parent | 3b9d7fd1792da09c1d436eceb49ee4ea6bc47f07 (diff) | |
parent | e40d5633659a401e1357e1c530238ed74cc158f6 (diff) | |
download | latinime-873c20ba06f8d1067be8cde3b698e0ece9cfd98f.tar.gz latinime-873c20ba06f8d1067be8cde3b698e0ece9cfd98f.tar.xz latinime-873c20ba06f8d1067be8cde3b698e0ece9cfd98f.zip |
am e40d5633: am 43341ba0: Merge "Ask the client to make itself known when it\'s not"
* commit 'e40d5633659a401e1357e1c530238ed74cc158f6':
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: |