summaryrefslogtreecommitdiffstats
path: root/src/com/android/providers/downloads
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-04-29 10:13:10 -0700
committerElliott Hughes <enh@google.com>2014-04-29 10:13:10 -0700
commit6ea35f0acc28b9ede6b49fcbd456d6eacfe3f55b (patch)
tree3a24756a8a6e1f6c0306a9bfd70e412f373a768a /src/com/android/providers/downloads
parentad93688d65c6f5898a8b2e8b324d9e8adf39dd65 (diff)
downloadandroid_packages_providers_DownloadProvider-6ea35f0acc28b9ede6b49fcbd456d6eacfe3f55b.tar.gz
android_packages_providers_DownloadProvider-6ea35f0acc28b9ede6b49fcbd456d6eacfe3f55b.tar.bz2
android_packages_providers_DownloadProvider-6ea35f0acc28b9ede6b49fcbd456d6eacfe3f55b.zip
OsConstants is moving.
Change-Id: Ie72e18f539cbad593c489bf52b9afea5330f62c1
Diffstat (limited to 'src/com/android/providers/downloads')
-rw-r--r--src/com/android/providers/downloads/DownloadThread.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/providers/downloads/DownloadThread.java b/src/com/android/providers/downloads/DownloadThread.java
index aeb28c67..88f554e2 100644
--- a/src/com/android/providers/downloads/DownloadThread.java
+++ b/src/com/android/providers/downloads/DownloadThread.java
@@ -36,7 +36,6 @@ import static java.net.HttpURLConnection.HTTP_PARTIAL;
import static java.net.HttpURLConnection.HTTP_PRECON_FAILED;
import static java.net.HttpURLConnection.HTTP_SEE_OTHER;
import static java.net.HttpURLConnection.HTTP_UNAVAILABLE;
-import static libcore.io.OsConstants.SEEK_SET;
import android.content.ContentValues;
import android.content.Context;
@@ -478,7 +477,7 @@ public class DownloadThread implements Runnable {
}
// Move into place to begin writing
- Os.lseek(outFd, mInfoDelta.mCurrentBytes, SEEK_SET);
+ Os.lseek(outFd, mInfoDelta.mCurrentBytes, OsConstants.SEEK_SET);
} catch (ErrnoException e) {
throw new StopRequestException(STATUS_FILE_ERROR, e);