commit | ea7e6d56f4baffe4e99162c35849cb2ddd753da5 | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Wed Mar 16 20:15:18 2022 +0100 |
committer | Patrick Rohr <prohr@google.com> | Thu Mar 17 07:21:33 2022 +0100 |
tree | 6d45a51e219ca482fd3d0a0b4481575ef7dabafd | |
parent | fb82c3f7021691d682738f9fe03193c0d660773c [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: I4c204a8489c0be006c00581d833f2bb46ae0e71d