commit | cc85ff9fa3fd76626900f75c9a46d91fb969011f | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Tue Oct 15 17:13:45 2019 +0800 |
committer | lucaslin <lucaslin@google.com> | Tue Oct 15 17:13:45 2019 +0800 |
tree | 2ac857ebfa691a2b6ead7480cb9858c01f447040 | |
parent | 23d3603ab8c27df61082a8c9ea6cff70c9a2ba44 [diff] |
Remove the network capabilities which are added twice Remove the network capabilities which are added twice in createDefaultNetworkCapabilitiesForUid() and createDefaultInternetRequestForTransport(). In the constructor of NetworkCapabilities, it will add the DEFAULT_CAPABILITIES which includes the NOT_RESTRICTED. Bug: 142370233 Test: 1. Build pass. 2. atest FrameworksNetTests Change-Id: I7159909aec8faa7f25cef94195bdaea0fea55840