summaryrefslogtreecommitdiffstats
path: root/dalvik
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-05-10 16:07:38 -0700
committerElliott Hughes <enh@google.com>2011-05-10 16:07:38 -0700
commit32b0fa4d1a31ef07bc4297c615f0fe50e9aa7c21 (patch)
tree5de039dc672feca2610ffe0a239afc9cc880f473 /dalvik
parent8e0bdcf8bb815078e28679b8111d590d2da83328 (diff)
downloadlibcore-32b0fa4d1a31ef07bc4297c615f0fe50e9aa7c21.zip
libcore-32b0fa4d1a31ef07bc4297c615f0fe50e9aa7c21.tar.gz
libcore-32b0fa4d1a31ef07bc4297c615f0fe50e9aa7c21.tar.bz2
DatagramSocket.disconnect is really a connect(2) of an AF_UNSPEC sockaddr.
Bug: 3107501 Change-Id: Ib04369b9ca63ff3fe7eb87dcbf2926fe704813e3
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 fd4be27..f3008c8 100644
--- a/dalvik/src/main/java/dalvik/system/BlockGuard.java
+++ b/dalvik/src/main/java/dalvik/system/BlockGuard.java
@@ -229,10 +229,6 @@ public final class BlockGuard {
return mNetwork.recvDirect(fd, packet, address, offset, length, peek, connected);
}
- public void disconnectDatagram(FileDescriptor aFD) throws SocketException {
- mNetwork.disconnectDatagram(aFD);
- }
-
public void sendUrgentData(FileDescriptor fd, byte value) {
mNetwork.sendUrgentData(fd, value);
}