commit | cf01b8a4f761ea54699187c1a365db4a3b57d7fa | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Wed Mar 16 11:31:06 2022 +0100 |
committer | Patrick Rohr <prohr@google.com> | Thu Mar 17 08:20:45 2022 +0100 |
tree | e9f958655b8f08e548540c821a0bd5deace99e43 | |
parent | 746d0822790606197e18214b2ecb67d8ad47feec [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