commit | 94fd615d1f47b6fc50cd8240e7fc4c523def69ae | [log] [tgz] |
---|---|---|
author | Erik Kline <ek@google.com> | Fri Jun 05 17:37:45 2015 +0900 |
committer | Erik Kline <ek@google.com> | Tue Jun 09 16:19:24 2015 +0900 |
tree | 3219fbc3f06e01fc1b9441408188553335326795 | |
parent | 50e554808b1d8dde6e6c6aeb608551ce8a0d8180 [diff] |
Make public Network#bindSocket(FileDescriptor). Code that uses android.system.Os to create sockets as FileDescriptors should be able to bind them to networks. Note that FileDescriptors could already be marked as "protected from VPNs" via NetworkUtils#protectFromVpn(), but heretofore were not easily bound to any particular network. Bug: 21449922 Change-Id: I4bb86db5d95d5a55bb2d7e245848d11eaa351e65