summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Patrick Rohr <prohr@google.com> 2022-03-16 11:31:06 +0100
committer Patrick Rohr <prohr@google.com> 2022-03-17 08:20:45 +0100
commiteea9edf76debdbdebda32793254ce0a4aac17730 (patch)
tree71af357b7cde0c0638389deb67b34f0f7aaba3a9 /api/api.go
parentedae1f6478ceed613d81e5d82c075b668ffb4025 (diff)
Change Ethernet API to use OutcomeReceiver
This change addresses API review feedback. In addition, it changes the returned result from Network to the interface name. The current API returning a Network object is racy and cannot be implemented correctly. Users should instead use the ConnectivityManager#requestNetwork() API to get hold of the Network for a given interface. Bug: 220017952 Test: TH Change-Id: I7c46545a47034be409071c2ec007d9e1480c6ed0
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions