diff options
author | Paul Jensen <pauljensen@google.com> | 2014-11-19 13:01:46 -0500 |
---|---|---|
committer | Paul Jensen <pauljensen@google.com> | 2014-11-19 13:11:30 -0500 |
commit | 57a767ff22cc141c90627b480b48cbda7c89d62b (patch) | |
tree | f8079937131a88b294212a646d5a65a1a6baab3b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1ca6af34b48b18b8c4b5e2cdf3f1bd4295d8ac2e (diff) |
Don't allow an uncreated Network to satsify requests.
This could happen when another Network changes its capabilities and
updateCapabilities() calls rematchAllNetworksAndRequests() which
calls rematchNetworkAndRequests() on all Networks, even those that
are uncreated.
Allowing uncreated Networks to satisfy requests can lead to bugs
where ConnectivityService instructs netd to perform actions
(e.g. set default Network) on uncreated Networks which netd doesn't
know about yet.
bug:18446301
Change-Id: I857262ac66d1d3af4c264ce128f0a4bee95655de
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions