diff options
author | 2013-03-19 16:45:25 +0900 | |
---|---|---|
committer | 2013-03-19 16:45:25 +0900 | |
commit | 1061bfdb34bbcb63bf0046eec42313d264ac33fa (patch) | |
tree | 49522ebf3ca71497dbaa64c8ab5b9499826130bf /java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java | |
parent | 0cc0544a2995c7eb54a830ae54db60af89d4073d (diff) | |
download | latinime-1061bfdb34bbcb63bf0046eec42313d264ac33fa.tar.gz latinime-1061bfdb34bbcb63bf0046eec42313d264ac33fa.tar.xz latinime-1061bfdb34bbcb63bf0046eec42313d264ac33fa.zip |
Break dependencies to allow offdevice tests to build
Change-Id: Ia9a2e8f0672b3f72943f26fb15de1d3c7c5ce7f1
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); } |