summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authormarkchien <markchien@google.com>2021-06-18 21:36:42 +0800
committermarkchien <markchien@google.com>2021-07-05 22:53:07 +0800
commitb41a00e7782f51127e5a7034ef54df2588b2f641 (patch)
tree69810c108e93fdb2b186f5b9ba993337f4f7b6ae /tests/common/java/android/net/NetworkCapabilitiesTest.java
parentde7eb04d71f06dac666c6687b485d15ce6b3d82a (diff)
Enable and disable usb IpServer according to ACTION_USB_STATE
Before this change, usb IpServer would be created if corresponding interface is available even there is no enable tethering attempt. And usb IpServer only be disabled when interface is removed. Usb tethering could not be stopped if interface is always avaialbe. After this change, usb IpServer would be enabled and disabled according to ACTION_USB_STATE. Bug: 185649441 Test: atest TetheringCoverageTests atest MtsTetheringTestLatestSdk atest CtsTetheringTest Change-Id: I8375e3f998d677dc658370b2553facaec0d5ff7c
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions