summaryrefslogtreecommitdiffstats
path: root/dalvik
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-03-29 18:00:14 -0700
committerElliott Hughes <enh@google.com>2011-03-29 18:00:14 -0700
commit454a95f6a28855aa3c88d168b15a45bf315efc99 (patch)
treeb34d7216b047082af865a2a205c5b26605bcfdb7 /dalvik
parent8b15dcc5890963edad4dfcf558cc16027c7985e5 (diff)
downloadlibcore-454a95f6a28855aa3c88d168b15a45bf315efc99.zip
libcore-454a95f6a28855aa3c88d168b15a45bf315efc99.tar.gz
libcore-454a95f6a28855aa3c88d168b15a45bf315efc99.tar.bz2
Add socket(2) and start adding setsockopt(2).
I've added just enough setsockopt to keep the hack from our old socket creation code. More later (but not necessarily right away). Bug: 3107501 Change-Id: Id57bdd3c760bc58ed79d675b268c55493cbc24c8
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 3eaa2b6..56abeb8 100644
--- a/dalvik/src/main/java/dalvik/system/BlockGuard.java
+++ b/dalvik/src/main/java/dalvik/system/BlockGuard.java
@@ -244,10 +244,6 @@ public final class BlockGuard {
mNetwork.disconnectDatagram(aFD);
}
- public void socket(FileDescriptor aFD, boolean stream) throws SocketException {
- mNetwork.socket(aFD, stream);
- }
-
public void sendUrgentData(FileDescriptor fd, byte value) {
mNetwork.sendUrgentData(fd, value);
}