summaryrefslogtreecommitdiffstats
path: root/dalvik
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-03-24 11:57:08 -0700
committerElliott Hughes <enh@google.com>2011-03-24 11:57:08 -0700
commite1502d64e937001636fca3d62b2552ef2a34d05f (patch)
treec530a9d4548b4a3d5b59047727cd0ea69b4f484f /dalvik
parent59e4744d27231f260271dbbca406e0cc39768116 (diff)
downloadlibcore-e1502d64e937001636fca3d62b2552ef2a34d05f.zip
libcore-e1502d64e937001636fca3d62b2552ef2a34d05f.tar.gz
libcore-e1502d64e937001636fca3d62b2552ef2a34d05f.tar.bz2
Add listen(2).
Bug: 3107501 Change-Id: I3677bb4ddb3f3d0e58a6833165504f47bb309630
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 c324167..c5c5d7c 100644
--- a/dalvik/src/main/java/dalvik/system/BlockGuard.java
+++ b/dalvik/src/main/java/dalvik/system/BlockGuard.java
@@ -319,10 +319,6 @@ public final class BlockGuard {
mNetwork.sendUrgentData(fd, value);
}
- public void listen(FileDescriptor aFD, int backlog) throws SocketException {
- mNetwork.listen(aFD, backlog);
- }
-
public void connect(FileDescriptor aFD, InetAddress inetAddress, int port,
int timeout) throws SocketException {
BlockGuard.getThreadPolicy().onNetwork();