commit | 45fb1aae66182f7fe0777e23b47d3680af6e9f2a | [log] [tgz] |
---|---|---|
author | markchien <markchien@google.com> | Fri Jul 10 16:57:50 2020 +0800 |
committer | markchien <markchien@google.com> | Mon Jul 13 15:24:45 2020 +0800 |
tree | 31a54a0a417ed24e2595d4be95a937baa46b9c5d | |
parent | cdf6b4202c501113699f948c1612c2f4b1f534b9 [diff] |
Fix EthernetTetheringTest failure if tethering is not supported Do not run ethernet tethering tests if tethering is not supported because Tethering APIs would fail. Also skip the test if EthernetManager is not avaliable. EthernetManager would be null if there are no FEATURE_ETHERNET and FEATURE_USB_HOST. Bug: 159869957 Test: atest CtsTetheringTest Change-Id: I2b9be6799c6edeefc8cd74897a8704dbe80dd061