summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasu Nori <vnori@google.com>2010-12-03 11:13:50 -0800
committerVasu Nori <vnori@google.com>2010-12-03 11:13:50 -0800
commit5bbe15ed66d72dcab0ef133b9d237bba28cd6d98 (patch)
tree762656b82020c2d826c0ec64421d56a352d16ac3
parent26f86843f48b3d7878837a1a9f93865b3eba0aee (diff)
downloadandroid_packages_providers_DownloadProvider-5bbe15ed66d72dcab0ef133b9d237bba28cd6d98.zip
android_packages_providers_DownloadProvider-5bbe15ed66d72dcab0ef133b9d237bba28cd6d98.tar.gz
android_packages_providers_DownloadProvider-5bbe15ed66d72dcab0ef133b9d237bba28cd6d98.tar.bz2
downloads broken by Change-Id: I115b3ba6cfe0262269dbbc4c336b9e1d63c618e4
big typo in that CL broke the downloading functionality. Change-Id: If7dc0f86ea7a3c4394603416ca0fc33847f10fa7
-rw-r--r--src/com/android/providers/downloads/DownloadThread.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/providers/downloads/DownloadThread.java b/src/com/android/providers/downloads/DownloadThread.java
index d783fea..7c10248 100644
--- a/src/com/android/providers/downloads/DownloadThread.java
+++ b/src/com/android/providers/downloads/DownloadThread.java
@@ -791,7 +791,7 @@ public class DownloadThread extends Thread {
*/
private void setupDestinationFile(State state, InnerState innerState)
throws StopRequest {
- if (TextUtils.isEmpty(state.mFilename)) { // only true if we've already run a thread for this download
+ if (!TextUtils.isEmpty(state.mFilename)) { // only true if we've already run a thread for this download
if (!Helpers.isFilenameValid(state.mFilename)) {
// this should never happen
throw new StopRequest(Downloads.Impl.STATUS_FILE_ERROR,