aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
diff options
context:
space:
mode:
authorMohammadinamul Sheik <inamul@google.com>2015-05-04 19:04:14 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-04 19:04:15 +0000
commitf01cd568f0de414e88507ce244969cf0e509c537 (patch)
tree4a7fb439c6479016c646aab905f8a6f31dcd302a /java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
parentaa9bb2f1db32133b6db80b59b37e122f3fc21227 (diff)
parenta0d9c82921022347e44d416bb57810331e35e446 (diff)
downloadlatinime-f01cd568f0de414e88507ce244969cf0e509c537.tar.gz
latinime-f01cd568f0de414e88507ce244969cf0e509c537.tar.xz
latinime-f01cd568f0de414e88507ce244969cf0e509c537.zip
Merge "Make the DictionaryService stage the downloaded files"
Diffstat (limited to 'java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java')
-rw-r--r--java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java2
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);