diff options
author | Erik Kline <ek@google.com> | 2017-01-26 18:08:28 +0900 |
---|---|---|
committer | Erik Kline <ek@google.com> | 2017-02-02 11:07:59 +0900 |
commit | 35bf06c968ecbae502efd9cfb13fff9b7ddf9d6a (patch) | |
tree | b7ed0126a312db06a3ef901840a4924eee6c605f /tools/aapt2/diff/Diff.cpp | |
parent | 9be24a30404b1ee69140fc22a39e831788fa5947 (diff) |
Add ConnectivityManager.networkCapabilitiesForType()
This static method returns a NetworkCapabilities instance with
transports and capabilities set according to the given legacy type.
Also:
- add NetworkRequest.Builder.setCapabilities(), to be able to use
the NetworkCapabilities instances returned from the above
- update UpstreamNetworkMonitor to make immediate use of this
Test: as follows
- build (bullhead)
- flashed
- booted
- runtest frameworks-net passes
- WiFi to DUN upstream tethering works
Bug: 32163131
Change-Id: Idfe1ddd2815c355cbf27cf29eb0e3de177de84e9
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions