diff options
author | 2015-05-04 11:57:31 -0700 | |
---|---|---|
committer | 2015-05-04 11:57:31 -0700 | |
commit | a0d9c82921022347e44d416bb57810331e35e446 (patch) | |
tree | 77974631941ea26edc47a73c0afdd64e6664980e /java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java | |
parent | 459b4f353e6138b644c1f06de68e93532ee0d856 (diff) | |
download | latinime-a0d9c82921022347e44d416bb57810331e35e446.tar.gz latinime-a0d9c82921022347e44d416bb57810331e35e446.tar.xz latinime-a0d9c82921022347e44d416bb57810331e35e446.zip |
Make the DictionaryService stage the downloaded files
Bug: 20641948
Change-Id: I6639c995b12c033bc30241cd219201dd483ee516
Diffstat (limited to 'java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java')
-rw-r--r-- | java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java b/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java index e61547a9d..6570171a6 100644 --- a/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java +++ b/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java @@ -592,6 +592,8 @@ public final class UpdateHandler { * Warn Android Keyboard that the state of dictionaries changed and it should refresh its data. */ private static void signalNewDictionaryState(final Context context) { + // TODO: Also provide the locale of the updated dictionary so that the LatinIme + // does not have to reset if it is a different locale. final Intent newDictBroadcast = new Intent(DictionaryPackConstants.NEW_DICTIONARY_INTENT_ACTION); context.sendBroadcast(newDictBroadcast); |