commit | d3e8d7b4ce81f118ccfe57d9b5a8c98e348b0369 | [log] [tgz] |
---|---|---|
author | Paul Jensen <pauljensen@google.com> | Fri Aug 28 12:00:15 2015 -0400 |
committer | Paul Jensen <pauljensen@google.com> | Fri Aug 28 12:50:09 2015 -0400 |
tree | 98cf42cda4c4a3818663072cd6171628dde1262c | |
parent | e203d89de7e95e98c9db2ae3b4878ffa42120933 [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 5d87922526639c98690836ef8a92105fec4b450a)