diff options
| author | Yi Kong <yikong@google.com> | 2016-12-12 16:09:25 +0000 |
|---|---|---|
| committer | Yi Kong <yikong@google.com> | 2016-12-14 13:33:14 +0000 |
| commit | 37de57c8de0b23248f30b951e200f1dc847443ac (patch) | |
| tree | 61ce690567feb51dc67c03d53affabce6ab26c35 /include/ScopedJavaUnicodeString.h | |
| parent | 751566dadca73d7c1d479804269fb520a107a255 (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 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions
