commit | fa376a5e7c41e529c055150f77c5916f6dae3e2f | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Wed Mar 16 20:16:09 2022 +0100 |
committer | Patrick Rohr <prohr@google.com> | Thu Mar 17 19:02:52 2022 +0000 |
tree | a77495b0f57a186fd58509e0941ff9d2d1fa8f11 | |
parent | c551ebbc373098a71c8423751c7bb9f31cc22db8 [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 Ignore-AOSP-First: CP to make automerger happy. Change-Id: I0f2866d09b745e7bdb261a1258f94cfd51223a8f