summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authorPatrick Rohr <prohr@google.com>2022-03-16 20:15:18 +0100
committerPatrick Rohr <prohr@google.com>2022-03-17 07:21:33 +0100
commitea7e6d56f4baffe4e99162c35849cb2ddd753da5 (patch)
tree6d45a51e219ca482fd3d0a0b4481575ef7dabafd /tests/common/java/android/net/NetworkCapabilitiesTest.java
parentfb82c3f7021691d682738f9fe03193c0d660773c (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
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions