Loading core/java/android/net/Downloads.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -196,7 +196,7 @@ public final class Downloads { * @return a boolean whether the download is successful. * @return a boolean whether the download is successful. */ */ public boolean isSuccessful() { public boolean isSuccessful() { return android.provider.Downloads.Impl.isStatusCompleted(statusCode); return android.provider.Downloads.Impl.isStatusSuccess(statusCode); } } } } Loading Loading
core/java/android/net/Downloads.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -196,7 +196,7 @@ public final class Downloads { * @return a boolean whether the download is successful. * @return a boolean whether the download is successful. */ */ public boolean isSuccessful() { public boolean isSuccessful() { return android.provider.Downloads.Impl.isStatusCompleted(statusCode); return android.provider.Downloads.Impl.isStatusSuccess(statusCode); } } } } Loading