summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2016-12-12 16:09:25 +0000
committerYi Kong <yikong@google.com>2016-12-14 13:33:14 +0000
commit37de57c8de0b23248f30b951e200f1dc847443ac (patch)
tree61ce690567feb51dc67c03d53affabce6ab26c35 /annotations/generate_annotated_java_files.py
parent751566dadca73d7c1d479804269fb520a107a255 (diff)
IoBridge.recvfrom: fill in the srcAddr for connected sockets
Ensure that recvfrom() always sets the srcAddress on the DatagramPacket, not just when isConnected == false. recvfrom() is currently not widely used and it needs to work in a different way to support the rewrite of PlainDatagramSocketImpl. The change will not substantially affect the one existing use case, Inet6AddressImpl, because it always passes "false" for isConnected. Test: CtsLibcoreTestCases Bug: 28609551 Change-Id: Iabb5a258a55578d13fedd299f060c52c5485f9b7
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions