commit | 3302cfc6ddec244dee1072acda110767668bb0c4 | [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 | 60ae18c6765f000d7e1379a65ea16c858d9e59f1 | |
parent | 37ee696d849361090a091c8fe8fad10537dabbba [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