diff options
author | 2013-03-19 08:12:50 +0000 | |
---|---|---|
committer | 2013-03-19 08:12:50 +0000 | |
commit | 8e005f2989de98cd284f1f5210f4c9d8d658e5e7 (patch) | |
tree | fd393df41d5d7064c17a2623c19deae29740fb4e /java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java | |
parent | 6d90a10a343723b8613fd22d323c586ecc33b284 (diff) | |
parent | 1061bfdb34bbcb63bf0046eec42313d264ac33fa (diff) | |
download | latinime-8e005f2989de98cd284f1f5210f4c9d8d658e5e7.tar.gz latinime-8e005f2989de98cd284f1f5210f4c9d8d658e5e7.tar.xz latinime-8e005f2989de98cd284f1f5210f4c9d8d658e5e7.zip |
am 1061bfdb: Break dependencies to allow offdevice tests to build
* commit '1061bfdb34bbcb63bf0046eec42313d264ac33fa':
Break dependencies to allow offdevice tests to build
Diffstat (limited to 'java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java')
-rw-r--r-- | java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java b/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java index 89cf6ed88..b4727509c 100644 --- a/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java +++ b/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java @@ -88,14 +88,6 @@ public final class UpdateHandler { // Name of the category for the main dictionary public static final String MAIN_DICTIONARY_CATEGORY = "main"; - /** - * The action of the intent for publishing that new dictionary data is available. - */ - // TODO: make this different across different packages. A suggested course of action is - // to use the package name inside this string. - public static final String NEW_DICTIONARY_INTENT_ACTION = - "com.android.inputmethod.dictionarypack.newdict"; - // The id for the "dictionary available" notification. static final int DICT_AVAILABLE_NOTIFICATION_ID = 1; @@ -552,7 +544,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) { - final Intent newDictBroadcast = new Intent(NEW_DICTIONARY_INTENT_ACTION); + final Intent newDictBroadcast = + new Intent(DictionaryPackConstants.NEW_DICTIONARY_INTENT_ACTION); context.sendBroadcast(newDictBroadcast); } |