summaryrefslogtreecommitdiffstats
path: root/dalvik
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-03-18 15:56:20 -0700
committerElliott Hughes <enh@google.com>2011-03-18 15:56:20 -0700
commitdedaccdfa07c370a58cba08b096133ad9eec0ec3 (patch)
treebfb038f005383d2f04c5ddb70e55b496fdfefd48 /dalvik
parentf5333fd2094bdac4d6506177b1964b79afa64d77 (diff)
downloadlibcore-dedaccdfa07c370a58cba08b096133ad9eec0ec3.zip
libcore-dedaccdfa07c370a58cba08b096133ad9eec0ec3.tar.gz
libcore-dedaccdfa07c370a58cba08b096133ad9eec0ec3.tar.bz2
Add lseek(2).
Bug: 3107501 Change-Id: Ie27e2ae1c7d37de5f02b1d81ee2005182339f881
Diffstat (limited to 'dalvik')
-rw-r--r--dalvik/src/main/java/dalvik/system/BlockGuard.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/dalvik/src/main/java/dalvik/system/BlockGuard.java b/dalvik/src/main/java/dalvik/system/BlockGuard.java
index cd44ad2..0e7661d 100644
--- a/dalvik/src/main/java/dalvik/system/BlockGuard.java
+++ b/dalvik/src/main/java/dalvik/system/BlockGuard.java
@@ -211,10 +211,6 @@ public final class BlockGuard {
mFileSystem.unlock(fileDescriptor, start, length);
}
- public long seek(int fileDescriptor, long offset, int whence) throws IOException {
- return mFileSystem.seek(fileDescriptor, offset, whence);
- }
-
public int open(String path, int mode) throws FileNotFoundException {
BlockGuard.getThreadPolicy().onReadFromDisk();
if (mode != 0) { // 0 is read-only