summaryrefslogtreecommitdiffstats
path: root/src/com/android/providers/downloads/DownloadService.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/providers/downloads/DownloadService.java')
-rw-r--r--src/com/android/providers/downloads/DownloadService.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/android/providers/downloads/DownloadService.java b/src/com/android/providers/downloads/DownloadService.java
index 035eaff4..bdbd388b 100644
--- a/src/com/android/providers/downloads/DownloadService.java
+++ b/src/com/android/providers/downloads/DownloadService.java
@@ -41,6 +41,8 @@ import android.text.TextUtils;
import android.util.Log;
import java.io.File;
+import java.io.FileDescriptor;
+import java.io.PrintWriter;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
@@ -555,4 +557,11 @@ public class DownloadService extends Service {
Log.w(Constants.TAG, "file: '" + path + "' couldn't be deleted", e);
}
}
+
+ @Override
+ protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) {
+ for (DownloadInfo info : mDownloads.values()) {
+ info.dump(writer);
+ }
+ }
}