diff options
author | 2013-06-12 11:13:37 -0700 | |
---|---|---|
committer | 2013-06-12 11:13:37 -0700 | |
commit | 37621957a3b97b6372a435e26c4cc4b7c5aa8648 (patch) | |
tree | 92c205ef4971b4d8bfbc32ab8853df98810545d8 /java/src/com/android/inputmethod/dictionarypack/DictionaryPackConstants.java | |
parent | 5062442fd5186105adb862d27e2a2170a37311ab (diff) | |
parent | 3d9ebf213cf795958bca1c036002eb657d1a8366 (diff) | |
download | latinime-37621957a3b97b6372a435e26c4cc4b7c5aa8648.tar.gz latinime-37621957a3b97b6372a435e26c4cc4b7c5aa8648.tar.xz latinime-37621957a3b97b6372a435e26c4cc4b7c5aa8648.zip |
am 3d9ebf21: Merge "Make intents unique to AOSP"
* commit '3d9ebf213cf795958bca1c036002eb657d1a8366':
Make intents unique to AOSP
Diffstat (limited to 'java/src/com/android/inputmethod/dictionarypack/DictionaryPackConstants.java')
-rw-r--r-- | java/src/com/android/inputmethod/dictionarypack/DictionaryPackConstants.java | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/dictionarypack/DictionaryPackConstants.java b/java/src/com/android/inputmethod/dictionarypack/DictionaryPackConstants.java index 69615887f..df0e3f0e1 100644 --- a/java/src/com/android/inputmethod/dictionarypack/DictionaryPackConstants.java +++ b/java/src/com/android/inputmethod/dictionarypack/DictionaryPackConstants.java @@ -28,13 +28,13 @@ public class DictionaryPackConstants { * The root domain for the dictionary pack, upon which authorities and actions will append * their own distinctive strings. */ - private static final String DICTIONARY_DOMAIN = "com.android.inputmethod.dictionarypack"; + private static final String DICTIONARY_DOMAIN = "com.android.inputmethod.dictionarypack.aosp"; /** * Authority for the ContentProvider protocol. */ // TODO: find some way to factorize this string with the one in the resources - public static final String AUTHORITY = DICTIONARY_DOMAIN + ".aosp"; + public static final String AUTHORITY = DICTIONARY_DOMAIN; /** * The action of the intent for publishing that new dictionary data is available. @@ -52,7 +52,14 @@ public class DictionaryPackConstants { */ public static final String UNKNOWN_DICTIONARY_PROVIDER_CLIENT = DICTIONARY_DOMAIN + ".UNKNOWN_CLIENT"; + // In the above intents, the name of the string extra that contains the name of the client // we want information about. public static final String DICTIONARY_PROVIDER_CLIENT_EXTRA = "client"; + + /** + * The action of the intent to tell the dictionary provider to update now. + */ + public static final String UPDATE_NOW_INTENT_ACTION = DICTIONARY_DOMAIN + + ".UPDATE_NOW"; } |