summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authorPatrick Rohr <prohr@google.com>2022-03-16 20:16:09 +0100
committerPatrick Rohr <prohr@google.com>2022-03-22 10:00:50 +0000
commita873f582a1f404fdd2bbad57a5b798c5a44608f7 (patch)
tree300b693eafdc4a5ac0d9c6af63bb5c22eb135f50 /tests/common/java/android/net/NetworkCapabilitiesTest.java
parenta68fba165909774413f86be75af8c1e6c91cf435 (diff)
Fix ethernet enable / disable API
The ethernet APIs connectNetwork() / disconnectNetwork() are inaccurately named. Physical link state cannot be changed by calling an API. This change renames these functions to enableInterface and disableInterface, respectively, to better reflect their intention and behavior. Test: atest EthernetManagerPermissionTest Merged-In: I0f2866d09b745e7bdb261a1258f94cfd51223a8f Change-Id: I0f2866d09b745e7bdb261a1258f94cfd51223a8f
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions