summaryrefslogtreecommitdiffstats
path: root/dalvik/src
diff options
context:
space:
mode:
Diffstat (limited to 'dalvik/src')
-rw-r--r--dalvik/src/main/java/dalvik/system/BlockGuard.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/dalvik/src/main/java/dalvik/system/BlockGuard.java b/dalvik/src/main/java/dalvik/system/BlockGuard.java
index 119833b..fd4be27 100644
--- a/dalvik/src/main/java/dalvik/system/BlockGuard.java
+++ b/dalvik/src/main/java/dalvik/system/BlockGuard.java
@@ -195,11 +195,6 @@ public final class BlockGuard {
return mNetwork.writeDirect(fd, address, offset, count);
}
- public boolean connect(FileDescriptor fd, InetAddress inetAddress, int port) throws IOException {
- BlockGuard.getThreadPolicy().onNetwork();
- return mNetwork.connect(fd, inetAddress, port);
- }
-
public boolean isConnected(FileDescriptor fd, int timeout) throws IOException {
if (timeout != 0) {
// Greater than 0 is a timeout, but zero means "poll and return immediately".