From 6ea35f0acc28b9ede6b49fcbd456d6eacfe3f55b Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 29 Apr 2014 10:13:10 -0700 Subject: OsConstants is moving. Change-Id: Ie72e18f539cbad593c489bf52b9afea5330f62c1 --- src/com/android/providers/downloads/DownloadThread.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3