diff options
author | 2013-07-05 10:34:14 +0000 | |
---|---|---|
committer | 2013-07-05 10:34:15 +0000 | |
commit | bac479bbe1d6daa074c375845bb3af42c931ecbd (patch) | |
tree | c4eab91670a31f8194e24847b81df6b30ba2db66 /java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java | |
parent | 0c6e077875a9a6ef1d46ea26610e18156a81a9fe (diff) | |
parent | 4be6198cb73cc24e10834153c4e049644ed187e3 (diff) | |
download | latinime-bac479bbe1d6daa074c375845bb3af42c931ecbd.tar.gz latinime-bac479bbe1d6daa074c375845bb3af42c931ecbd.tar.xz latinime-bac479bbe1d6daa074c375845bb3af42c931ecbd.zip |
Merge "Reorganize Utils class"
Diffstat (limited to 'java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java')
-rw-r--r-- | java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java b/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java index 8a23acdef..f66ef8733 100644 --- a/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java +++ b/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java @@ -38,8 +38,8 @@ import android.util.Log; import com.android.inputmethod.compat.ConnectivityManagerCompatUtils; import com.android.inputmethod.compat.DownloadManagerCompatUtils; import com.android.inputmethod.latin.R; +import com.android.inputmethod.latin.utils.ApplicationUtils; import com.android.inputmethod.latin.utils.DebugLogUtils; -import com.android.inputmethod.latin.utils.Utils; import java.io.File; import java.io.FileInputStream; @@ -222,7 +222,7 @@ public final class UpdateHandler { // DownloadManager also stupidly cuts the extension to replace with its own that it // gets from the content-type. We need to circumvent this. final String disambiguator = "#" + System.currentTimeMillis() - + Utils.getVersionName(context) + ".json"; + + ApplicationUtils.getVersionName(context) + ".json"; final Request metadataRequest = new Request(Uri.parse(metadataUri + disambiguator)); DebugLogUtils.l("Request =", metadataRequest); |