summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Vasu Nori <vnori@google.com> 2011-02-08 22:01:39 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2011-02-08 22:01:39 -0800
commit61eadaa6c3d62c16cfb86181267a9ce6407ed244 (patch)
tree3cd4cacc268dc61bfc7f284cc47251a88f9b4273
parent397c65927362f8d3f06310096783231ba87aa213 (diff)
parent0ba3055b1e657b0948001d48b19345fb0cd626ff (diff)
Merge "bug:3435895 change a couple of retryable error constants to < 400"
-rw-r--r--core/java/android/provider/Downloads.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/core/java/android/provider/Downloads.java b/core/java/android/provider/Downloads.java
index 5557a0dcd157..16990a522466 100644
--- a/core/java/android/provider/Downloads.java
+++ b/core/java/android/provider/Downloads.java
@@ -567,6 +567,19 @@ public final class Downloads {
public static final int STATUS_QUEUED_FOR_WIFI = 196;
/**
+ * This download couldn't be completed due to insufficient storage
+ * space. Typically, this is because the SD card is full.
+ */
+ public static final int STATUS_INSUFFICIENT_SPACE_ERROR = 198;
+
+ /**
+ * This download couldn't be completed because no external storage
+ * device was found. Typically, this is because the SD card is not
+ * mounted.
+ */
+ public static final int STATUS_DEVICE_NOT_FOUND_ERROR = 199;
+
+ /**
* This download has successfully completed.
* Warning: there might be other status values that indicate success
* in the future.
@@ -671,19 +684,6 @@ public final class Downloads {
public static final int STATUS_TOO_MANY_REDIRECTS = 497;
/**
- * This download couldn't be completed due to insufficient storage
- * space. Typically, this is because the SD card is full.
- */
- public static final int STATUS_INSUFFICIENT_SPACE_ERROR = 498;
-
- /**
- * This download couldn't be completed because no external storage
- * device was found. Typically, this is because the SD card is not
- * mounted.
- */
- public static final int STATUS_DEVICE_NOT_FOUND_ERROR = 499;
-
- /**
* This download is visible but only shows in the notifications
* while it's in progress.
*/