summaryrefslogtreecommitdiff
path: root/Tethering/common/TetheringLib/src/android/net/TetheringManager.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-07-13 09:35:07 +0000
committerMark Chien <markchien@google.com>2020-07-13 10:01:25 +0000
commit0275981699b68dba728870112ca9253714e8dbc0 (patch)
treec1622e3f9ee82d3885ae8c5d74d3a2c223c8d199 /Tethering/common/TetheringLib/src/android/net/TetheringManager.java
parent6faf8619945930f9aef6c21269343d2ea0db57b9 (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
Diffstat (limited to 'Tethering/common/TetheringLib/src/android/net/TetheringManager.java')
0 files changed, 0 insertions, 0 deletions