aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2013-03-19 00:33:12 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-03-19 00:33:13 +0000
commit5b048292540b6fbbd8929a3622262f352245d464 (patch)
tree6e5c7bb8458970316639b88ecacb07a702f46cb7 /java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java
parent20591e43c42d953de1fa474670a70a10a819f60f (diff)
parent9c3860ce461c3791891bf667edc77fe798c8d332 (diff)
downloadlatinime-5b048292540b6fbbd8929a3622262f352245d464.tar.gz
latinime-5b048292540b6fbbd8929a3622262f352245d464.tar.xz
latinime-5b048292540b6fbbd8929a3622262f352245d464.zip
Merge "Rename ProductionFlag.IS_EXPERIMENTAL to USES_DEVELOPMENT_ONLY_DIAGNOSTICS" into jb-mr2-dev
Diffstat (limited to 'java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java')
-rw-r--r--java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java b/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java
index 94598c810..f68e9f90b 100644
--- a/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java
+++ b/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java
@@ -289,8 +289,9 @@ final class BinaryDictionaryGetter {
// cacheWordListsFromContentProvider returns the list of files it copied to local
// storage, but we don't really care about what was copied NOW: what we want is the
// list of everything we ever cached, so we ignore the return value.
- // TODO: The experimental version is not supported by the Dictionary Pack Service yet
- if (!ProductionFlag.IS_EXPERIMENTAL) {
+ // TODO: The development-only-diagnostic version is not supported by the Dictionary Pack
+ // Service yet
+ if (!ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {
// We need internet access to do the following. Only do this if the package actually
// has the permission.
if (context.checkCallingOrSelfPermission(android.Manifest.permission.INTERNET)