diff options
Diffstat (limited to 'core/java/android/net/Downloads.java')
-rw-r--r-- | core/java/android/net/Downloads.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/net/Downloads.java b/core/java/android/net/Downloads.java index ddde5c1..ed6d103 100644 --- a/core/java/android/net/Downloads.java +++ b/core/java/android/net/Downloads.java @@ -196,7 +196,7 @@ public final class Downloads { * @return a boolean whether the download is successful. */ public boolean isSuccessful() { - return android.provider.Downloads.Impl.isStatusCompleted(statusCode); + return android.provider.Downloads.Impl.isStatusSuccess(statusCode); } } |