diff options
| author | Yi Kong <yikong@google.com> | 2016-07-16 17:24:00 +0100 |
|---|---|---|
| committer | Yi Kong <yikong@google.com> | 2016-07-22 13:35:34 +0000 |
| commit | c89864c913a1bac895c758f25caec02123b8492f (patch) | |
| tree | 5d2c3eb62897051c215d5e4c1344c78d8c52154d /include/ScopedJavaUnicodeString.h | |
| parent | 7afc142522eadc446241cb3b272fcf935730d8e2 (diff) | |
NetworkInterface should show all available interfaces
Prior to Nougat, calling
NetworkInterface.getNetworkInterfaces()
would return all the interfaces available on device. However after
Nougat we only show interfaces with IP address associated. We applied a
local patch to also show those with no IP address but has MAC addresses,
but still missed out interfaces that has neither addresses.
Do not omit interfaces with with no IP or MAC address associated, thus
restoring the old behaviour.
Bug: 29243557
Test: libcore.java.net.NetworkInterfaceTest#testGetNetworkInterfaces
Change-Id: Ic1d4016dc80b41fe873d36cde68583499880c624
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions
