commit | e6317e5caab717103467a3222eb7d0581d68e61e | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Mon Jul 13 09:35:07 2020 +0000 |
committer | Mark Chien <markchien@google.com> | Mon Jul 13 10:01:25 2020 +0000 |
tree | b4fd321dbfb93ca1afa07a2f6f091938283f2baa | |
parent | 77e3cce083581595f5b2f02130560a2b126c0f92 [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 Merged-In: I2b9be6799c6edeefc8cd74897a8704dbe80dd061 Change-Id: I2b9be6799c6edeefc8cd74897a8704dbe80dd061