commit | 13d5b866144b4c35a53f712d0b39c4cb7904b015 | [log] [tgz] |
---|---|---|
author | kevinwk_lee <kevinwk_lee@askey.com.tw> | Fri Oct 18 11:25:29 2019 +0800 |
committer | 文楷 李 <kevinwk_lee@askey.com> | Thu Oct 31 07:23:11 2019 +0000 |
tree | 27c4a7396965b01340a66b9f14b44a4be7c67e1d | |
parent | 2afd43ff9fbeb01bf51659007f41694aab79081f [diff] |
Avoid creating IpClient if ethernet cable is unplugged. This change avoids calling start() on needNetworkFor() if ethernet cable is unplugged. Fixed by adding isLinkUp validation. Test: ./cts-tradefed run cts-dev -d -m CtsSecurityTestCases -t \ android.security.cts.ListeningPortsTest#testNoRemotelyAccessibleListeningUdpPorts adb shell netstat -lnup Change-Id: I2debd7367a20b665249f9c19d2d8a61737435803