diff options
author | Paul Jensen <pauljensen@google.com> | 2015-08-28 12:00:15 -0400 |
---|---|---|
committer | Paul Jensen <pauljensen@google.com> | 2015-08-28 12:50:09 -0400 |
commit | 2b6af396ad14def9a967f62cccc87ee715823bb1 (patch) | |
tree | 27fe7fb1ba9bc767ba4d898bd74d5fcb498e3515 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a12044215b1148826ea9a88d5d1102378b13922f (diff) |
Don't mark NetworkRequests restricted when they don't have restricted caps
Requests without NET_CAPABILITIES_INTERNET and just the default network
capabilities should not be marked restricted. Without this fix apps
can hit permissions exceptions if they inadvertently make requests
without NET_CAPABILITIES_INTERNET.
Bug:23164917
Change-Id: I4c7136821315bcb05dfc42ffbc505a5d4f6109e6
(cherry picked from commit aae613d96134245af7c55976731a49fa59e77470)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions