summaryrefslogtreecommitdiffstats
path: root/src/com/android/providers/downloads/DownloadThread.java
diff options
context:
space:
mode:
authorVasu Nori <vnori@google.com>2011-03-17 14:39:27 -0700
committerVasu Nori <vnori@google.com>2011-03-17 14:39:27 -0700
commitcc048de9b7b2433ef497e4495126a166409ad3f7 (patch)
treec3714ca523474937f2c4c3450b35fcd74ccdca54 /src/com/android/providers/downloads/DownloadThread.java
parentd76fd7371e878ce90e6970065c74b164f39820b1 (diff)
downloadandroid_packages_providers_DownloadProvider-cc048de9b7b2433ef497e4495126a166409ad3f7.tar.gz
android_packages_providers_DownloadProvider-cc048de9b7b2433ef497e4495126a166409ad3f7.tar.bz2
android_packages_providers_DownloadProvider-cc048de9b7b2433ef497e4495126a166409ad3f7.zip
bug:4121206 handle STOPSHIP comments/code
Change-Id: I3c9f8e3b11dd301a0921d89e0333883489f37e55
Diffstat (limited to 'src/com/android/providers/downloads/DownloadThread.java')
-rw-r--r--src/com/android/providers/downloads/DownloadThread.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/android/providers/downloads/DownloadThread.java b/src/com/android/providers/downloads/DownloadThread.java
index 100ebcab..735946c9 100644
--- a/src/com/android/providers/downloads/DownloadThread.java
+++ b/src/com/android/providers/downloads/DownloadThread.java
@@ -658,13 +658,11 @@ public class DownloadThread extends Thread {
*/
private void handleOtherStatus(State state, InnerState innerState, int statusCode)
throws StopRequestException {
- // STOPSHIP remove this. should help in debugging http://b/issue?id=3422868
if (statusCode == 416) {
// range request failed. it should never fail.
throw new IllegalStateException("Http Range request failure: totalBytes = " +
innerState.mTotalBytes + ", bytes recvd so far: " + innerState.mBytesSoFar);
}
- // END STOPSHIP
int finalStatus;
if (Downloads.Impl.isStatusError(statusCode)) {
finalStatus = statusCode;