commit | 08459a6a7dabe95fadd725b064924d9e6558ba98 | [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 | 3ae017a7d28ca3e206e1c048ab3e870a7e54c6d3 [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