summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVasu Nori <vnori@google.com>2010-12-02 14:49:26 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2010-12-02 14:49:26 -0800
commitcea99881d3e83cdbb29204927db9e23c1785bdb6 (patch)
tree3880ea8a4381dbf7507f855836a323246518e46a /src
parent5685124434a6d271a78eb15ae68675de49fecab9 (diff)
parent084c3dc34ed9e6ae9ddc471819de0d6d55021dfd (diff)
downloadandroid_packages_providers_DownloadProvider-cea99881d3e83cdbb29204927db9e23c1785bdb6.tar.gz
android_packages_providers_DownloadProvider-cea99881d3e83cdbb29204927db9e23c1785bdb6.tar.bz2
android_packages_providers_DownloadProvider-cea99881d3e83cdbb29204927db9e23c1785bdb6.zip
am 084c3dc3: am 26f86843: Merge "(GB MR) bug:3144642 temporary small fix in GB MR and real fix in HC" into gingerbread
* commit '084c3dc34ed9e6ae9ddc471819de0d6d55021dfd': (GB MR) bug:3144642 temporary small fix in GB MR and real fix in HC
Diffstat (limited to 'src')
-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 0eea6c70..0728c31a 100644
--- a/src/com/android/providers/downloads/DownloadThread.java
+++ b/src/com/android/providers/downloads/DownloadThread.java
@@ -801,7 +801,7 @@ public class DownloadThread extends Thread {
*/
private void setupDestinationFile(State state, InnerState innerState)
throws StopRequest {
- if (state.mFilename != null) { // 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,