diff options
| author | markchien <markchien@google.com> | 2022-01-06 21:41:56 +0800 |
|---|---|---|
| committer | markchien <markchien@google.com> | 2022-03-07 10:55:51 +0800 |
| commit | 259d5c08a8cdce305452d33fd49234e2c9b404b5 (patch) | |
| tree | 09ece9eaeb8113cbf27c24a2720d215d05c12659 /tests/common/java/android/net/LinkPropertiesTest.java | |
| parent | 9edd999725357a6b424a260f5d7ecbcbf604f8c8 (diff) | |
Make isTetheringSupported respect all tethering downstreams
Currently if wifi, usb and bluetooth tethering is not supported,
isTetheringSupported would return false. Then ethernet, ncm tethering
and wifi p2p would also not be supported anymore. Make
isTetheringSupported respect all tethering downstreams after T.
Also remove redundant code:
1. tethering always has upstream configuration, checking whether has
upstream configuration for isTetheringSupported is useless.
2. Remove TetheringDependencies#isTetheringSupported because it don't
have any caller.
Test: atest TetheringTests
Change-Id: I3db5ce410c064d37c9e9e704fce2a2b68705834e
Diffstat (limited to 'tests/common/java/android/net/LinkPropertiesTest.java')
0 files changed, 0 insertions, 0 deletions
